Skip to content

Commit

Permalink
chore: pinning mypy to 1.11.0; to be resolved in separate pr
Browse files Browse the repository at this point in the history
  • Loading branch information
aorumbayev committed Oct 16, 2024
1 parent 554c3ae commit 2a9086f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ algorand-python-testing = "^0.4.0"
algokit-client-generator = "^1.1.3"
black = {extras = ["d"], version = "*"}
ruff = "^0.1.6"
mypy = "*"
mypy = "1.11.0"
pytest = "*"
pytest-cov = "*"
pip-audit = "*"
Expand Down Expand Up @@ -58,7 +58,7 @@ warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
strict_equality = true
strict_concatenate = true
extra_checks = true
disallow_any_unimported = true
disallow_any_expr = true
disallow_any_decorated = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ algorand-python-testing = "^0.4.0"
[tool.poetry.group.dev.dependencies]
black = {extras = ["d"], version = "*"}
ruff = "^0.1.6"
mypy = "*"
mypy = "1.11.0"
pip-audit = "*"
pre-commit = "*"
puyapy = "*"
Expand Down Expand Up @@ -52,7 +52,7 @@ warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
strict_equality = true
strict_concatenate = true
extra_checks = true
disallow_any_unimported = true
disallow_any_expr = true
disallow_any_decorated = true
Expand Down
10 changes: 2 additions & 8 deletions examples/production_python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ algorand-python-testing = "^0.4.0"
algokit-client-generator = "^1.1.3"
black = {extras = ["d"], version = "*"}
ruff = "^0.1.6"
mypy = "*"
mypy = "1.11.0"
pytest = "*"
pytest-cov = "*"
pip-audit = "*"
Expand Down Expand Up @@ -58,14 +58,8 @@ warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
strict_equality = true
strict_concatenate = true
extra_checks = true
disallow_any_unimported = true
disallow_any_expr = true
disallow_any_decorated = true
disallow_any_explicit = true
exclude = ["^smart_contracts/artifacts/.*$"]

[[tool.mypy.overrides]]
module = "smart_contracts.artifacts.*"
ignore_missing_imports = true
follow_imports = "silent"
10 changes: 2 additions & 8 deletions template_content/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ ruff = "^0.1.6"
flake8 = "*"
{% endif -%}
{% if use_python_mypy -%}
mypy = "*"
mypy = "1.11.0"
{% endif -%}
{% if use_python_pytest -%}
pytest = "*"
Expand Down Expand Up @@ -77,15 +77,9 @@ warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
strict_equality = true
strict_concatenate = true
extra_checks = true
disallow_any_unimported = true
disallow_any_expr = true
disallow_any_decorated = true
disallow_any_explicit = true
exclude = ["^smart_contracts/artifacts/.*$"]

[[tool.mypy.overrides]]
module = "smart_contracts.artifacts.*"
ignore_missing_imports = true
follow_imports = "silent"
{% endif -%}

0 comments on commit 2a9086f

Please sign in to comment.