mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Add minimal pylintrc for new code in tuf/api
Add a minimal pylintrc to lint for new code being developed in tuf/api and update the tox configuration to ignore tuf/api with the default pylintrc and run an extra invocation of pylint for just the modules in tuf/api. Signed-off-by: Joshua Lock <jlock@vmware.com>
This commit is contained in:
parent
05b1609786
commit
f91ce395e5
2 changed files with 8 additions and 1 deletions
3
tox.ini
3
tox.ini
|
|
@ -14,7 +14,8 @@ skipsdist = true
|
|||
changedir = tests
|
||||
|
||||
commands =
|
||||
pylint {toxinidir}/tuf
|
||||
pylint {toxinidir}/tuf --ignore={toxinidir}/tuf/api
|
||||
pylint {toxinidir}/tuf/api --rcfile={toxinidir}/tuf/api/pylintrc
|
||||
bandit -r {toxinidir}/tuf
|
||||
coverage run aggregate_tests.py
|
||||
coverage report -m --fail-under 97
|
||||
|
|
|
|||
6
tuf/api/pylintrc
Normal file
6
tuf/api/pylintrc
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
[MESSAGE_CONTROL]
|
||||
disable=fixme
|
||||
|
||||
[FORMAT]
|
||||
indent-string=" "
|
||||
max-line-length=79
|
||||
Loading…
Reference in a new issue