mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
tools/backport_pr: relax pylint and flake8 checks
- ignore fixme warning with pylint - increase tolerated code complexity for flake8
This commit is contained in:
parent
93c508451d
commit
09c7b54704
6
dist/tools/backport_pr/tox.ini
vendored
6
dist/tools/backport_pr/tox.ini
vendored
@ -24,9 +24,11 @@ deps =
|
||||
pylint
|
||||
{[testenv]deps}
|
||||
commands =
|
||||
pylint {env:script}
|
||||
# Suppress warning about TODO in code
|
||||
pylint --disable=fixme {env:script}
|
||||
|
||||
[testenv:flake8]
|
||||
deps = flake8
|
||||
commands =
|
||||
flake8 --max-complexity=10 {env:script}
|
||||
# main() is quite complex, provide enough margin
|
||||
flake8 --max-complexity=25 {env:script}
|
||||
|
Loading…
Reference in New Issue
Block a user