forked from rpm-software-management/dnf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 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
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
linter: | ||
flake8: | ||
version: 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |