distribusi-verse/pyproject.toml

50 lines
997 B
TOML
Raw Normal View History

2024-05-27 13:29:30 +02:00
[tool.ruff]
2024-04-19 22:33:52 +02:00
line-length = 79
2024-05-27 13:29:30 +02:00
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",
]
2022-01-05 13:42:24 +01:00
2024-05-27 13:29:30 +02:00
[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]+?))$"
2022-01-05 13:42:24 +01:00
2024-05-27 13:29:30 +02:00
[tool.ruff.format]
quote-style = "double"
2024-05-28 23:02:17 +02:00
indent-style = "space"
2024-05-27 13:29:30 +02:00
docstring-code-format = true
line-ending = "auto"
skip-magic-trailing-comma = false