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
53
54
55
56
57
58
59
60
61
62
63
64
|
[darglint]
strictness = short
docstring_style = google
[flake8]
max-complexity = 10
max-line-length = 79
docstring-convention = google
select =
# flake8-annotations
ANN,
# flake8-bugbear
B,
# flake8-bugbear
B9,
# flake8-black
BLK,
# mccabe
C,
# flake8-docstrings
D,
# darglint
DAR,
# pycodestyle
E,
# pyflakes
F,
# flake8-isort
I,
# flake8-bandit
S,
# pycodestyle
W
ignore =
# Missing type annotation for '*args'
ANN002,
# Missing type annotation for '**kwargs'
ANN003,
# Missing type annotation for 'self' in method.
ANN101,
# Missing type annotation for 'cls' in classmethod.
ANN102,
# Abstract base class with no abstract method. Remember to use
# @abstractmethod, @abstractclassmethod, and/or
# @abstractproperty decorators.
B024,
# Use r”“” if any backslashes in a docstring
# (Click uses backslashes to format CLI help)
D301,
# Whitespace before ':' (does not work well with Black)
E203,
# Line too long (82 > 79 characters)
# (Already checked by flake8-bugbear B950 with a margin of 10%)
# https://github.com/PyCQA/flake8-bugbear#opinionated-warnings
E501,
# XML minidom insecure
S408,
# Probable insecure usage of temp file/directory.
S108,
# Line break occurred before a binary operator
# (does not work well with Black)
W503,
# XML minidom insecure
S408,
|