diff --git a/.gitignore b/.gitignore index 1e454c6e72..b80355a283 100644 --- a/.gitignore +++ b/.gitignore @@ -174,3 +174,5 @@ terraform/**/*.tfstate* terraform/**/*.tfvars terraform/shared/modules/egress-proxy/proxy.zip terraform/shared/modules/egress-proxy/test/client.zip +very_cool_passing_xlsx +scratch.txt \ No newline at end of file diff --git a/backend/Makefile b/backend/Makefile index 3f86a93ecb..8bd591b685 100644 --- a/backend/Makefile +++ b/backend/Makefile @@ -31,7 +31,7 @@ lint: @echo "Flake8:" @flake8 @echo "black:" - @black --check . + @black --check --exclude '\.venv|node_modules' . @echo "bandit:" @bandit -c pyproject.toml -r . @echo "Installing type stubs:" @@ -83,7 +83,7 @@ docker-nctest: docker-lint: docker compose build - docker compose run web bash -c 'flake8 && black --check . && bandit -c pyproject.toml -r . && python -m pip install types-pytz && mypy . && djlint .' + docker compose run web bash -c 'flake8 && black --check --exclude '\.venv|node_modules' . && bandit -c pyproject.toml -r . && mypy . && djlint .' ghcr-first-run: docker compose -f docker-compose-web.yml run web python manage.py makemigrations @@ -119,3 +119,7 @@ docker-full-clean: docker volume rm $(docker volume ls -q) docker system prune -f docker volume prune -f +dfs: + make docker-clean + make docker-first-run + docker compose up diff --git a/backend/pyproject.toml b/backend/pyproject.toml index 97858ef217..a90258cfa7 100644 --- a/backend/pyproject.toml +++ b/backend/pyproject.toml @@ -41,6 +41,7 @@ exclude_dirs = [ "node_modules", "dissemination/test_search.py", "dissemination/tests.py", + ".venv" ] [tool.djlint] diff --git a/lighthouserc.js b/lighthouserc.js index c0efa9101d..bad1366940 100644 --- a/lighthouserc.js +++ b/lighthouserc.js @@ -2,17 +2,20 @@ module.exports = { ci: { collect: { url: [ - 'http://localhost:8000/', - 'http://localhost:8000/report_submission/eligibility', + // 'http://localhost:8000/', + // 'http://localhost:8000/report_submission/eligibility', 'http://localhost:8000/report_submission/auditeeinfo', - 'http://localhost:8000/report_submission/accessandsubmission', - 'http://localhost:8000/audit', + // 'http://localhost:8000/report_submission/accessandsubmission', + // 'http://localhost:8000/audit', ], }, assert: { assertions: { "categories:accessibility": ["error", {"minScore": .98}] } + }, + upload: { + target: 'temporary-public-storage', } }, };