-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.flake8
49 lines (37 loc) · 1.18 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
[flake8]
select = A,ANN,AZ,B,B9,BLK,C,C1,C4,C8,CCR,CFQ,D,DAR,E,E8,ECE,F,FS,JS,M,MOD,N4,N8,P,PT,Q,R,S,SIM,TAE,VNE,W,YTT
application-names = quendor,tests
docstring-convention = google
no-accept-encodings = True
inline-quotes = double
max-line-length = 90
strictness = short
show-source = True
statistics = True
htmldir = htmllint
htmltitle = Quendor Lint Report
per-file-ignores =
# Missing docstring in public package
*/__init__.py:D104
# Missing docstring in public module
*/__version__.py:D100
# '.format' used
src/quendor/errors.py:FS002
# Cognitive complexity is too high (8 > 7)
# Function "provide_zcode" has 4 returns that exceeds max allowed 3
src/quendor/scripts/downloader.py:CCR001,CFQ004
ignore =
# Missing type annotation for self in method
ANN101
# Missing docstring in __init__
D107
# No blank lines allowed after function doctring.
D202
# Multi-line docstring summary should start at the first line
D212
# Consider possible security implications associated with subprocess module.
S404
# Subprocess call - check for execution of untrusted input.
S603
# line break before binary operator
W503