-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
68 lines (64 loc) · 1.29 KB
/
pyproject.toml
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[tool.black]
line-length = 120
target-version = ['py37']
exclude = '''
/(
\.git
| \.github
| \.mypy_cache
| \.pytest_cache
| \.idea
| venv
| venv_linter
| venv_tests
| \.local
| makefile\.inc
| build
| dist
)/
'''
[tool.isort]
profile = 'black'
line_length = 120
skip_glob = [
".history",
"venv",
"venv_linter",
"venv_tests",
]
use_parentheses = true
multi_line_output = 3
include_trailing_comma = true
[tool.flakeheaven]
exclude = [
".history",
"venv",
"venv_linter",
"venv_tests",
]
format = "grouped"
max_line_length = 120
show_source = true
extended_default_ignore = []
[tool.flakeheaven.plugins]
# default plugins
pyflakes = ["+*"]
pycodestyle = ["+*"]
# additional plugins
flake8 = ["+*"]
# enable everything that starts from `flake8-`
"flake8-*" = ["+*"]
pylint = [
"+*", # include everything
"-C0114", # disable Missing module docstring (missing-module-docstring)
"-C0116", # disable Missing function or method docstring (missing-function-docstring)
"-E0401", # disable Unable to import 'library' (import-error)
]
# match by prefix
[tool.flakeheaven.exceptions."dags/"]
pycodestyle = [
"-W503" # disable line break before binary operator
]
pylint = [
"-W0104" # disable statement seems to have no effect (pointless-statement)
]