dosage/pyproject.toml
Tobias Gruetzmacher 9dbde1bdba
Update flake8 & plugins (#251)
Additionally, this adds some hackery to let flake8 read its config from
pyproject.toml.
2022-12-11 20:15:09 +01:00

21 lines
476 B
TOML

[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm>=6.2"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
[tool.flake8]
max_line_length = 100
ignore = [
'E127', 'E128', # hanging instead of visual indent
'FI18', 'FI58', # ignore __future__ "annotations" for now
'W504' # line breaks after binary operator
]
noqa-require-code = true
no-accept-encodings = true
min-version = "3.7"
extend-exclude = [
'.venv',
'build',
]