forked from GridTools/gt4py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
42 lines (39 loc) · 1.05 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
[build-system]
requires = ["setuptools>=40.8.0", "wheel", "setuptools_scm"]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 100
target_version = ['py38']
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.gt_cache
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.flakehell] # Other options read from flake8 config in setup.cfg
format = "colored"
[tool.flakehell.plugins]
flake8-bugbear = ["+*", "-B008"] # B008: Do not perform function calls in argument defaults
flake8-builtins = ["+*"]
flake8-darglint = ["-*", "-DAR"] # DAR: Disable dargling errors by default
flake8-debugger = ["+*"]
flake8-docstrings = ["+*", "-D1*"] # D1: Public code object needs docstring
flake8-eradicate = ["+*"]
flake8-mutable = ["+*"]
flake8-rst-docstrings = ["+*"]
mccabe = ["+*"]
pycodestyle = ["+*",
"-E203", # Whitespace before ':' (black formatter breaks this sometimes)
"-E501", # Line too long (using Bugbear's B950 warning)
"-W503", # Line break occurred before a binary operator
]
pyflakes = ["+*"]