forked from Amsterdam/dataservices-airflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flake8
53 lines (53 loc) · 1.21 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
53
[flake8]
# A = builtins
# B = bugbear
# C4 = comprehensions
# D = docstrings
# E = pycodestyle errors, rst
# F = flake8 pyflakes, rst
# G = logging-format
# P = str-format
# RST = rst-docstrings
# S = bandit
# T = print
# W = pycodestyle warnings
# B9 = bugbear opinions
# ISC = implicit-str-concat
ban-relative-imports = True
max-line-length = 99
docstring-convention = google
statistics = True
select = A, B, C4, D, E, F, G, P, RST, S, T, W, B9, ISC
doctests = True
extend-ignore =
# D100 Missing docstring in public module
D100,
# D104 Missing docstring in public package
D104,
# E203 Black may add spaces in slice[func(v) : end] syntax
E203,
# E231 Black leaves commas after combining lines
E231,
# F403 Allow import * (for settings)
F403,
# F405 Allow import * (for settings)
F405,
# E731 Allow lambdas:
E731,
# R102 Allow raise Exception()
R102,
# S101 Use of assert detected
S101
exclude =
.git,
**/migrations/*,
docs,
scripts,
.cache,
.eggs,
__pycache__,
build,
dist,
.venv,
venv
format = ${cyan}%(path)s${reset}:${yellow_bold}%(row)d${reset}:${green_bold}%(col)d${reset}: ${red_bold}%(code)s${reset} %(text)s