-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.flake8
25 lines (24 loc) · 952 Bytes
/
.flake8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[flake8]
max-line-length = 100
max-complexity = 8
# http://flake8.pycqa.org/en/2.5.5/warnings.html#warning-error-codes
ignore =
# pydocstyle - docstring conventions (PEP257)
D100 # Missing docstring in public module
D101 # Missing docstring in public class
D102 # Missing docstring in public method
D103 # Missing docstring in public function
D104 # Missing docstring in public package
D105 # Missing docstring in magic method
D106 # Missing docstring in public nested class
D107 # Missing docstring in __init__
D412 # No blank lines allowed between a section header and its content
# pycodestyle - style checker (PEP8)
W503 # line break before binary operator
# flake8-import-restrictions
I2041 # from-import statements must only import module
per-file-ignores =
*tests/*:D205,D400,D401,S101,S106,E501,E731
gsheets-workflow-api/lib/*/schemas.py:E501
gsheets-workflow-api/lib/*/*.py:C901
example-notebook.py:W391