refactor: configure mypy to ignore errors in test modules and update ruff linting rules for test files

This commit is contained in:
Abhimanyu Saharan
2026-02-09 17:47:06 +05:30
parent dddd1e9a7a
commit 1f105c19ab

View File

@@ -52,6 +52,13 @@ files = ["app", "scripts"]
mypy_path = ["typings"]
show_error_codes = true
[[tool.mypy.overrides]]
module = ["tests.*"]
ignore_errors = true
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = ["ALL"]
[tool.pytest.ini_options]
asyncio_default_fixture_loop_scope = "function"