pyproject: add more checks

This commit is contained in:
Jörg Thalheim 2023-10-12 15:58:59 +02:00
parent cb35c312c1
commit dbb51c837a

View file

@ -1,12 +1,12 @@
[tool.ruff] [tool.ruff]
target-version = "py311" target-version = "py311"
line-length = 88 line-length = 88
select = ["E", "F", "I", "U", "N"]
select = ["E", "F", "I", "U"]
ignore = [ "E501" ] ignore = [ "E501" ]
[tool.mypy] [tool.mypy]
python_version = "3.10" python_version = "3.10"
pretty = true
warn_redundant_casts = true warn_redundant_casts = true
disallow_untyped_calls = true disallow_untyped_calls = true
disallow_untyped_defs = true disallow_untyped_defs = true