Skip to content

Commit

Permalink
setup SideCI to ignore some PEP8 violations
Browse files Browse the repository at this point in the history
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: rpm-software-management#646
Approved by: ignatenkobrain
  • Loading branch information
Jan Silhan authored and DNF Bot committed Nov 21, 2016
1 parent 070435c commit 4faaeb3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sideci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
linter:
flake8:
version: 3
15 changes: 15 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4faaeb3

Please sign in to comment.