mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 02:26:53 -07:00
Add flake8 quality checks to tox.ini
This commit is contained in:
parent
51e520547b
commit
a8d1cc4fe9
1 changed files with 24 additions and 0 deletions
24
tox.ini
24
tox.ini
|
@ -29,6 +29,30 @@ deps =
|
|||
commands =
|
||||
{posargs:pytest --cov --cov-report=term-missing tests}
|
||||
|
||||
[flake8]
|
||||
max-line-length = 79
|
||||
verbose = 2
|
||||
statistics = True
|
||||
ignore =
|
||||
; -- flake8 --
|
||||
; E501 line too long
|
||||
E501
|
||||
|
||||
per-file-ignores =
|
||||
; F401 imported but unused
|
||||
; E402 module level import not at top of file
|
||||
core/__init__.py: E402, F401
|
||||
core/utils/__init__.py: F401
|
||||
core/plugins/downloaders/configuration.py: F401
|
||||
core/plugins/downloaders/utils.py: F401
|
||||
|
||||
[testenv:check]
|
||||
deps =
|
||||
flake8
|
||||
skip_install = true
|
||||
commands =
|
||||
flake8 core tests setup.py
|
||||
|
||||
[coverage:run]
|
||||
omit =
|
||||
libs/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue