From 4faaeb3fb32289694820cb123282c85b96549b62 Mon Sep 17 00:00:00 2001 From: Jan Silhan Date: Mon, 31 Oct 2016 11:57:58 +0100 Subject: [PATCH] setup SideCI to ignore some PEP8 violations unfortunately tox.ini and sideci.yml has to be in the root directory. SideCI doesn't currently support custom path to flake8 configuration file. Closes: #646 Approved by: ignatenkobrain --- sideci.yml | 3 +++ tox.ini | 15 +++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 sideci.yml create mode 100644 tox.ini diff --git a/sideci.yml b/sideci.yml new file mode 100644 index 0000000000..2e95afd9ca --- /dev/null +++ b/sideci.yml @@ -0,0 +1,3 @@ +linter: + flake8: + version: 3 diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000000..e998c42f14 --- /dev/null +++ b/tox.ini @@ -0,0 +1,15 @@ +[flake8] +# C0111: docstrings +# I0011: locally disabled warnings +# R0801: similar lines +# R0904: too many public methods +# R0911: too many return statements +# R0912: too many branches +# R0913: too many arguments +# R0903: too few public methods +# W0141: used builtin 'map' function +# W0142: used star magic +# W0212: access to a protected member +ignore = C0111,I0011,R0801,R0904,R0911,R0912,R0913,R0903,W0141,W0142,W0212 +exclude = .git,__pycache__ +max-line-length = 100