-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.flake8
More file actions
27 lines (24 loc) · 674 Bytes
/
.flake8
File metadata and controls
27 lines (24 loc) · 674 Bytes
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-line-length = 120
type-checking-strict = true
enable-extensions = TC, TC1
ban-relative-imports = true
format-greedy = 1
inline-quotes = double
extend-ignore =
# ANN101: Missing type annotation for self in method
ANN101,
# ANN102: Missing type annotation for cls in classmethod
ANN102,
# TC001: Move application import into a type-checking block
TC001,
# TC002: Move third-party import into a type-checking block
TC002
# TC003: Move built-in import into a type-checking block
TC003
per-file-ignores =
# ANN201: Missing return type annotation for public function
tests/test_*:ANN201
exclude =
.venv
.tox