diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f5e153e7..60c43ee1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,7 +21,3 @@ repos: - id: djlint-jinja files: '.*\.html' entry: djlint --reformat - - repo: https://github.com/PyCQA/pylint - rev: v2.14.4 - hooks: - - id: pylint diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c622af42..07910ab2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -91,7 +91,7 @@ DB_URI=postgresql://myuser:mypassword@localhost:35432/simplelogin Run the postgres database: ```bash -docker run -e POSTGRES_PASSWORD=mypassword -e POSTGRES_USER=myuser -e POSTGRES_DB=simplelogin -p 35432:5432 postgres:13 +docker run -e POSTGRES_PASSWORD=mypassword -e POSTGRES_USER=myuser -e POSTGRES_DB=simplelogin -p 15432:5432 postgres:13 ``` To run the server: diff --git a/scripts/reset_local_db.sh b/scripts/reset_local_db.sh index cf8e4f0f..422c2a8b 100755 --- a/scripts/reset_local_db.sh +++ b/scripts/reset_local_db.sh @@ -1,6 +1,6 @@ #!/bin/sh -export DB_URI=postgresql://myuser:mypassword@localhost:35432/simplelogin +export DB_URI=postgresql://myuser:mypassword@localhost:15432/simplelogin echo 'drop schema public cascade; create schema public;' | psql $DB_URI poetry run alembic upgrade head diff --git a/scripts/reset_test_db.sh b/scripts/reset_test_db.sh index a24edfe2..25466010 100755 --- a/scripts/reset_test_db.sh +++ b/scripts/reset_test_db.sh @@ -1,6 +1,6 @@ #!/bin/sh -export DB_URI=postgresql://myuser:mypassword@localhost:35432/test +export DB_URI=postgresql://myuser:mypassword@localhost:15432/test echo 'drop schema public cascade; create schema public;' | psql $DB_URI poetry run alembic upgrade head