1
0
Fork 0
mirror of https://github.com/qurator-spk/dinglehopper.git synced 2025-06-09 11:50:00 +02:00

🔍 mypy: Use an almost strict mypy configuration, and fix any issues

This commit is contained in:
Mike Gerber 2024-01-10 19:12:07 +01:00
parent ad316aeabc
commit 483e809691
11 changed files with 77 additions and 41 deletions

View file

@ -60,9 +60,20 @@ markers = [
[tool.mypy]
plugins = ["numpy.typing.mypy_plugin"]
ignore_missing_imports = true
strict = true
disallow_subclassing_any = false
# ❗ error: Class cannot subclass "Processor" (has type "Any")
disallow_any_generics = false
disallow_untyped_defs = false
disallow_untyped_calls = false
[tool.ruff]
select = ["E", "F", "I"]
ignore = [