-
Notifications
You must be signed in to change notification settings - Fork 175
/
.flake8
27 lines (22 loc) · 628 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
26
27
[flake8]
# max cyclomatic complexity
max-complexity = 9
extend-ignore =
# defer formatting concerns to black
# E203: space around `:` operator
# E501: maximum line length
E203,
E501,
# do not require type annotations for self nor cls
ANN101,
ANN102
# configure flake8-docstrings
# https://pypi.org/project/flake8-docstrings/
docstring-convention = google
noqa-require-code = true
# TODO(mc, 2021-04-12): this config ignores type annotation and doc
# string lints in these modules; remove entries as they are fixed
per-file-ignores =
setup.py:ANN,D
otupdate/*:ANN,D
tests/*:ANN,D