mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
Merge pull request #324 from stumpylog/more-ci-checks
Align CI checks with pre-commit (mostly)
This commit is contained in:
@@ -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 =
|
||||
./
|
||||
|
Reference in New Issue
Block a user