mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-01-06 13:36:07 +01:00
Adds additional CI checks for the backend and frontend, to complement pre-commit hooks which should already be run
This commit is contained in:
parent
460f10f46a
commit
ee1404d99e
4 changed files with 58 additions and 33 deletions
|
|
@ -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 =
|
||||
./
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue