Fixes and improvements.

This commit is contained in:
OK
2025-08-09 00:16:37 +02:00
parent 38f0479d1e
commit d742ab86fa
22 changed files with 529 additions and 457 deletions
+12 -8
View File
@@ -4,16 +4,16 @@ build-backend = "poetry.core.masonry.api"
[tool.mypy]
files = ["fjerkroa_bot", "tests"]
python_version = "3.8"
warn_return_any = true
python_version = "3.11"
warn_return_any = false
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
disallow_untyped_defs = false
disallow_incomplete_defs = false
check_untyped_defs = false
disallow_untyped_decorators = false
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_unused_ignores = false
warn_no_return = true
warn_unreachable = true
strict_equality = true
@@ -23,7 +23,11 @@ show_error_codes = true
module = [
"discord.*",
"multiline.*",
"aiohttp.*"
"aiohttp.*",
"openai.*",
"tomlkit.*",
"watchdog.*",
"setuptools.*"
]
ignore_missing_imports = true