1
0
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:
Alexandre Abadie 2020-07-04 16:05:44 +02:00
parent 93c508451d
commit 09c7b54704
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -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}