-
Notifications
You must be signed in to change notification settings - Fork 12
/
.flake8
34 lines (33 loc) · 858 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
29
30
31
32
33
# vim:set syntax=toml:
[flake8]
max-line-length = 120
ignore=
# require module / package docstring
# we're not really using that
D104,
D100,
# one-line docstring formatting
# it's annoying when you actually want to add more
D200,
# no machine shall compel human speech
# it also doesn't work all that well
D401,
# practicality beats purity
I101,
# for now
# TODO: do it!
D103,
D101,
D102, D107, D105,
# TODO: questionable
C417, C416
per-file-ignores =
# imported but unused
__init__.py: F401
# D301 - click uses backslash characters in a clever way
# B008 - this is fundamental to how Typer works
dtcli/scripts/*: D301, B008
# Flake8 parser is not additive
dtcli/scripts/__init__.py: F401
# otherwise cyclic import
dtcli/__init__.py: I100, F401