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:
parent
ad316aeabc
commit
483e809691
11 changed files with 77 additions and 41 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue