forked from gandersen101/spaczz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flake8
26 lines (26 loc) · 794 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
[flake8]
# ANN = Missing type annotation warnings
# B = bugbear
# B9 = bugbear opinions
# BLK = black style warnings
# C = mccabe code complexity
# D = missing/incorrect docstring warnings
# DAR = darglint warnings
# E = pycodestyle errors
# F = pyflakes errors
# I = import order warnings
# S = bandit warnings
# W = pycodestyle warnings
select = ANN,B,B9,BLK,C,D,DAR,E,F,I,S,W
# E203 = slice notation whitespace, invalid
# E501 = line length, handled by bugbear B950
# S301, S403 = pickle warnings from security
# W503 = bin op line break, invalid
ignore = E203, E501, S301, S403, W503
# up to 88 allowed by bugbear B950
max-line-length = 80
max-complexity = 18
application-import-names = spaczz,tests
import-order-style = google
docstring-convention = google
per-file-ignores = tests/*:S101