Skip to content

Commit

Permalink
tell mypy to only check as python 3.9
Browse files Browse the repository at this point in the history
otherwise it defaults to 3.8 which causes issues d/t the import
re-defining

Signed-off-by: Grant Ramsay <[email protected]>
  • Loading branch information
seapagan committed Aug 18, 2024
1 parent 0897cef commit e4dd226
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ known-first-party = ["simple_toml_settings"]
[tool.ruff.lint.pyupgrade]
keep-runtime-typing = true

[tool.mypy]
python_version = "3.9"

[[tool.mypy.overrides]]
disable_error_code = ["method-assign", "no-untyped-def", "attr-defined"]
module = "tests.*"

0 comments on commit e4dd226

Please sign in to comment.