Skip to content

Commit

Permalink
Target python 3.8 when running mypy.
Browse files Browse the repository at this point in the history
Ruff and pre-commit hooks already the oldest version to ensure backward compatibility.

Doing the same for mypy ensures no features are used that don't exist in python 3.8.
  • Loading branch information
aris-aiven committed Apr 17, 2024
1 parent 1f6ca93 commit a6bd288
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[mypy]
python_version = 3.11
python_version = 3.8
warn_redundant_casts = True
disallow_any_generics = true
disallow_incomplete_defs = true
Expand Down

0 comments on commit a6bd288

Please sign in to comment.