* Update pre-commit * Upgrade djlint, remove flake8 and add pylint * Reformat with new djlint version * Run pre-commit on CI * Use only python3.10 on CI * Reformat files with pre-commit * Run pre-commit against all files * Reformat * Added global excludes * Added pre-commit to the contributing file * Set python 3.9 as default * Set language version to python3 Co-authored-by: Adrià Casajús <adria.casajus@proton.ch> Co-authored-by: Carlos Quintana <carlos.quintana@proton.ch>
7 lines
183 B
Bash
Executable file
7 lines
183 B
Bash
Executable file
#!/bin/sh
|
|
|
|
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
|