From 09c7b547049819e24b0759db29e5635a4bfdb190 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Sat, 4 Jul 2020 16:05:44 +0200 Subject: [PATCH] tools/backport_pr: relax pylint and flake8 checks - ignore fixme warning with pylint - increase tolerated code complexity for flake8 --- dist/tools/backport_pr/tox.ini | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dist/tools/backport_pr/tox.ini b/dist/tools/backport_pr/tox.ini index 5a2ec35680..c2a23359df 100644 --- a/dist/tools/backport_pr/tox.ini +++ b/dist/tools/backport_pr/tox.ini @@ -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}