diff --git a/pyproject.toml b/pyproject.toml index 41954f7..8d8a79d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,6 +55,10 @@ strict = true python_version = "3.10" exclude = [".venv", "build"] +[[tool.mypy.overrides]] +module = "valorant.utils" +disable_error_code = ["assignment", "import-not-found"] + [tool.ruff] line-length = 120 target-version = "py310" diff --git a/valorant/utils.py b/valorant/utils.py index bb821a6..fab589b 100644 --- a/valorant/utils.py +++ b/valorant/utils.py @@ -1,5 +1,3 @@ -# mypy: disable-error-code="assignment, import-not-found" - import json try: