Merge pull request #324 from stumpylog/more-ci-checks

Align CI checks with pre-commit (mostly)
This commit is contained in:
Quinn Casey
2022-03-18 18:01:06 +07:00
committed by GitHub
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 =
./