Skip to content

Commit

Permalink
fix: update mypy configuration for utils
Browse files Browse the repository at this point in the history
  • Loading branch information
staciax committed Jan 8, 2025
1 parent 0b0302b commit 2276d02
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 0 additions & 2 deletions valorant/utils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# mypy: disable-error-code="assignment, import-not-found"

import json

try:
Expand Down

0 comments on commit 2276d02

Please sign in to comment.