From 1f105c19abcd486f6114a73145c2806666baa624 Mon Sep 17 00:00:00 2001 From: Abhimanyu Saharan Date: Mon, 9 Feb 2026 17:47:06 +0530 Subject: [PATCH] refactor: configure mypy to ignore errors in test modules and update ruff linting rules for test files --- backend/pyproject.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/backend/pyproject.toml b/backend/pyproject.toml index fca22205..f50563de 100644 --- a/backend/pyproject.toml +++ b/backend/pyproject.toml @@ -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"