-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #315 from r4lv/patch-flake8
DEV: linter configurations for PEP8
- Loading branch information
Showing
2 changed files
with
41 additions
and
2 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,36 @@ | ||
[flake8] | ||
max-line-length = 80 | ||
ignore = | ||
;====== flake8 defaults ====== | ||
; continuation line under-indented for hanging indent: | ||
E121, | ||
; closing bracket does not match indentation of opening bracket's line: | ||
E123, | ||
; continuation line over-indented for hanging indent: | ||
E126, | ||
; missing whitespace around arithmetic operator: | ||
E226, | ||
; multiple spaces after ',' / tab after ',': | ||
; E24, | ||
; multiple statements on one line (def): | ||
; E704, | ||
; line break before binary operator: | ||
W503, | ||
; line break after binary operator: | ||
W504, | ||
|
||
;====== VIP ====== | ||
; One-line docstring should fit on one line with quotes: | ||
D200, | ||
; Missing docstring in public function: | ||
D103, | ||
; 1 blank line required between summary line and description | ||
D205, | ||
; First line should end with a period | ||
D400, | ||
|
||
;====== flake8 plugins ====== | ||
; Use of assert detected. (bandit plugin) | ||
S101, | ||
; no configuration found (.isort.cfg or [isort] in configs) (isort plugin) | ||
I002, |
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