-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.flake8
28 lines (28 loc) · 907 Bytes
/
.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
[flake8]
select = B,B9,C,D,DAR,E,F,N,RST,S,W,C4,SIM,YTT
ignore = E203,E501,RST201,RST203,RST301,
# W503 line break before binary operator
W503,
# C901 function is too complex
C901,
# S404 Consider possible security implications associated with the subprocess module.
S404, RST307,RST219,RST303,
# S108 Probable insecure usage of temp file/directory.
S108, RST305,RST205,S603,S602,
# C409 Unnecessary list passed to tuple() - rewrite as a tuple literal.
C409,
# W605 invalid escape sequence
W605,
max-line-length = 105
max-complexity = 10
docstring-convention = google
per-file-ignores =
tests/*:S101,
src/scannls/__init__.py:F401,
src/scannls/_class/writer.py:SIM115,
src/scannls/_class/parallel.py: SIM117,
rst-roles = class,const,func,meth,mod,ref
rst-directives = deprecated,seealso,note
exclude =
noxfile.py,
src/scannls/cppext/*,