2019-07-08 20:01:36 +02:00
|
|
|
[build-system]
|
|
|
|
requires = [
|
|
|
|
"setuptools >= 41.0.0",
|
|
|
|
"wheel",
|
|
|
|
]
|
|
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
|
|
|
|
[tool.black]
|
|
|
|
skip-string-normalization = true
|
2024-06-27 10:47:41 +02:00
|
|
|
|
|
|
|
[tool.ruff]
|
|
|
|
line-length = 79
|
|
|
|
target-version = "py311"
|
|
|
|
#include = '\.pyi?$'
|
|
|
|
exclude = [
|
|
|
|
".bzr",
|
|
|
|
".direnv",
|
|
|
|
".eggs",
|
|
|
|
".git",
|
|
|
|
".git-rewrite",
|
|
|
|
".hg",
|
|
|
|
".ipynb_checkpoints",
|
|
|
|
".mypy_cache",
|
|
|
|
".nox",
|
|
|
|
".pants.d",
|
|
|
|
".pyenv",
|
|
|
|
".pytest_cache",
|
|
|
|
".pytype",
|
|
|
|
".ruff_cache",
|
|
|
|
".svn",
|
|
|
|
".tox",
|
|
|
|
".venv",
|
|
|
|
".vscode",
|
|
|
|
"__pypackages__",
|
|
|
|
"_build",
|
|
|
|
"buck-out",
|
|
|
|
"build",
|
|
|
|
"dist",
|
|
|
|
"node_modules",
|
|
|
|
"site-packages",
|
|
|
|
"venv",
|
|
|
|
]
|
|
|
|
|
|
|
|
[tool.ruff.lint]
|
|
|
|
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
|
|
|
|
select = ["E4", "E7", "E9", "F"]
|
|
|
|
ignore = []
|
|
|
|
# Allow fix for all enabled rules (when `--fix`) is provided.
|
|
|
|
fixable = ["ALL"]
|
|
|
|
unfixable = []
|
|
|
|
# Allow unused variables when underscore-prefixed.
|
|
|
|
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
|
|
|
|
|
|
|
|
[tool.ruff.format]
|
|
|
|
quote-style = "double"
|
|
|
|
indent-style = "space"
|
|
|
|
docstring-code-format = true
|
|
|
|
line-ending = "auto"
|
|
|
|
skip-magic-trailing-comma = false
|