Adds additional CI checks for the backend and frontend, to complement pre-commit hooks which should already be run

This commit is contained in:
Trenton Holmes
2022-03-13 14:39:31 -07:00
parent 63603234e4
commit e450676fcc
4 changed files with 58 additions and 33 deletions

View File

@@ -1,5 +1,9 @@
[pycodestyle]
exclude = migrations, paperless/settings.py, .tox, */tests/*
[flake8]
extend-exclude = */migrations/*, paperless/settings.py, */tests/*
# E203 - https://www.flake8rules.com/rules/E203.html
# W503 - https://www.flake8rules.com/rules/W503.html
ignore = E203,W503
max-line-length = 88
[tool:pytest]
DJANGO_SETTINGS_MODULE=paperless.settings
@@ -7,7 +11,6 @@ addopts = --pythonwarnings=all --cov --cov-report=html -n auto
env =
PAPERLESS_DISABLE_DBHANDLER=true
[coverage:run]
source =
./