Skip to content

Commit

Permalink
Upgraded mypy to 1.11 (#67)
Browse files Browse the repository at this point in the history
Updates the dependencies to use the most recent release of mypy -
^1.11.0. And since we already have `strict=True` I've removed the other
flags so that strict is the default for new projects.
  • Loading branch information
a-musing-moose authored Jul 26, 2024
2 parents 8f2302c + 37bdba9 commit feeb23f
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 44 deletions.
62 changes: 31 additions & 31 deletions template/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 1 addition & 13 deletions template/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ isort = "^5.12.0"
mkdocs = "^1.5.3"
mkdocs-material = "^9.4.8"
mkdocstrings = "^0.23.0"
mypy = "^1.6.1"
mypy = "^1.11.0"
poetry = "^1.7.0"
pudb = "^2023.1"
pytest = "^7.4.3"
Expand All @@ -52,18 +52,6 @@ requires = ["poetry-core"]
strict = true
plugins = ["mypy_django_plugin.main"]

# disallow_any_unimported = true
check_untyped_defs = true
disallow_untyped_defs = true
no_implicit_optional = true

warn_redundant_casts = true
warn_return_any = true
warn_unused_ignores = true

show_error_codes = true
show_traceback = true

[[tool.mypy.overrides]]
ignore_missing_imports = true
module = "environ"
Expand Down

0 comments on commit feeb23f

Please sign in to comment.