-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.flake8
52 lines (50 loc) · 1.39 KB
/
.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[flake8]
max-line-length = 120
ignore=
# E501: Line length
E501
# Docstring at the top of a public module
D100
# Docstring at the top of a public class (method is enough)
D101
# Make docstrings one line if it can fit.
D200
# Imperative docstring declarations
D401
# Type annotation for `self`
TYP101
TYP102 # for cls
# Missing docstring in __init__
D107
# Missing docstring in public package
D104
# Missing type annotations for `**kwargs`
TYP003
# Whitespace before ':'. Black formats code this way.
E203
# 1 blank line required between summary line and description
D205
# First line should end with a period - here we have a few cases where the first line is too long, and
# this issue can't be fixed without using noqa notation
D400
# Missing type annotations for self
ANN101
# Missing type annotation for cls in classmethod
ANN102
# Missing type annotations for **args
ANN002
# Missing type annotations for **kwargs
ANN003
# W503 line break before binary operator - conflicts with black
W503
# B008 Do not perform function calls in argument defaults. This is done in Typer.
B008
# T800 Missing spaces between parameter annotation and default value. This is done in Typer.
T800
exclude =
.git,
.idea,
__pycache__,
tests/*,
venv,
manage.py