From 2eb8a9d185f89f244a6a18b008d54392d4ef9b80 Mon Sep 17 00:00:00 2001 From: Kai Schuyler Gonzalez <43561307+kaischuygon@users.noreply.github.com> Date: Thu, 30 Nov 2023 12:52:48 -0700 Subject: [PATCH] fix linting error in test_pgvector.py --- test/embedding/test_pgvector.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/test/embedding/test_pgvector.py b/test/embedding/test_pgvector.py index 0e0572d..088c096 100644 --- a/test/embedding/test_pgvector.py +++ b/test/embedding/test_pgvector.py @@ -1,7 +1,10 @@ ''' -Set up a mock Postgres instance with the following commands (make sure you don't have anything running on port 0.0.0.0:5432))): -- docker pull ankane/pgvector -- docker run --name mock-postgres -p 5432:5432 -e POSTGRES_USER=mock_user -e POSTGRES_PASSWORD=mock_password -e POSTGRES_DB=mock_db -d ankane/pgvector +Set up a mock Postgres instance with the following commands +(make sure you don't have anything running on port 0.0.0.0:5432))): +docker pull ankane/pgvector +docker run --name mock-postgres -p 5432:5432 \ + -e POSTGRES_USER=mock_user -e POSTGRES_PASSWORD=mock_password -e POSTGRES_DB=mock_db \ + -d ankane/pgvector Then run the tests with: pytest test