add treewide pyproject.toml
All checks were successful
checks / test (pull_request) Successful in 26s
checks-impure / test (pull_request) Successful in 8s

Than we don't need a pyproject.toml per script
This commit is contained in:
Jörg Thalheim 2023-09-29 16:41:14 +02:00
parent 9daeaf5c62
commit 89e69e5cb6

View File

@ -1,35 +0,0 @@
[tool.mypy]
python_version = "3.10"
warn_redundant_casts = true
disallow_untyped_calls = true
disallow_untyped_defs = true
no_implicit_optional = true
exclude = "clan_cli.nixpkgs"
[tool.ruff]
line-length = 88
select = [ "E", "F", "I", "U", "N"]
ignore = [ "E501" ]
[tool.black]
line-length = 88
target-version = [ "py310" ]
include = "\\.pyi?$"
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
# The following are specific to Black, you probably don't want those.
| blib2to3
| tests/data
| profiling
)/
'''