make application run outside of docker

This commit is contained in:
Simon
2024-07-17 19:09:31 +02:00
parent 335e6f4b6f
commit c687c0fd96
14 changed files with 97 additions and 25 deletions

View File

@@ -51,6 +51,7 @@ function sync_test {
--exclude "**/cache" \
--exclude "**/__pycache__/" \
--exclude "**/.pytest_cache/" \
--exclude "**/static/volume" \
--exclude ".venv" \
--exclude "db.sqlite3" \
--exclude ".mypy_cache" \
@@ -92,7 +93,7 @@ function validate {
echo "running black"
black --force-exclude "migrations/*" --diff --color --check -l 79 "$check_path"
echo "running codespell"
codespell --skip="./.git,./.venv,./package.json,./package-lock.json,./node_modules,./.mypy_cache" "$check_path"
codespell --skip="./.git,./.venv,./package.json,./package-lock.json,./node_modules,./.mypy_cache,**/static/volume" "$check_path"
echo "running flake8"
flake8 "$check_path" --exclude "migrations,.venv" --count --max-complexity=10 \
--max-line-length=79 --show-source --statistics