-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flake8
20 lines (20 loc) · 923 Bytes
/
.flake8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[flake8]
max-line-length = 120
ignore =
ANN002, # Missing type annotation for *_
ANN003, # Missing type annotation for **kwargs
ANN101, # Missing type annotation for self in method
ANN204, # Missing return type annotation for special method
D100, # Missing docstring in public module
D101, # Missing docstring in public class
D105, # Missing docstring in magic method
D401, # First line should be in imperative mood; try rephrasing
PT023, # use @pytest.mark.asyncio() over @pytest.mark.asyncio
SC200, # Spelling error in name (e.g. variable, function, class)
W292, # no newline at end of file PT023, # use @pytest.mark.asyncio() over @pytest.mark.asyncioflake8(PT023)
per-file-ignores =
# D104 - missing docstring in public method
# F401 - imported but unused
__init__.py: F401, D104
# D102 - Missing docstring in public method
*_test.py: D102