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
This commit is contained in:
Jan Silhan 2016-10-31 11:57:58 +01:00 committed by DNF Bot
parent 070435ce07
commit 4faaeb3fb3
2 changed files with 18 additions and 0 deletions

3
sideci.yml Normal file
View File

@ -0,0 +1,3 @@
linter:
flake8:
version: 3

15
tox.ini Normal file
View File

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