-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flake8
14 lines (13 loc) · 753 Bytes
/
.flake8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[flake8]
# flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
# run the flake code linting checks in localhost using the above command
# other specific settings to flake8 is described below
# the following error/warning definations are ignored
# as they are sometimes violated by black: https://github.com/psf/black
# and is also a personal preference, as spaces before and after an
# operator makes the code more readable to `CODEOWNER` (i.e. self)
# E20{1-3} whitespace before '{', '}', and ':' respectively
# E221 multiple spaces before operator
# E251 unexpected spaces around keyword / parameter equals
# E261 at least two spaces before inline comment
ignore = E201, E202, E203, E221, E251, E261