Skip to content

Commit cd640ac

Browse files
committed
📦⬆️ Upgrade mypy to version 1.18
1 parent 9641b04 commit cd640ac

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

project_name/pyproject.toml.jinja

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ docs = [
110110
"mkdocs-section-index ~=0.3.0",
111111
]
112112
typing = [
113-
"mypy ~=1.17.0",
113+
"mypy ~=1.18.0",
114114
# add "*-stubs" and "types-*" packages here (">=0")
115115
]
116116

@@ -172,10 +172,13 @@ run.omit = [
172172
[tool.mypy]
173173
files = ["src", "tests"]
174174
mypy_path = "stubs"
175+
# ENABLE WHEN SCHEMA UPDATES: fixed_format_cache = true
175176
# set the platform
176177
python_version = "3.{{ python_min }}"
177-
# enable checks [last updated: mypy 1.17]
178+
# enable checks [last updated: mypy 1.18]
178179
strict = true
180+
# ENABLE WHEN SCHEMA UPDATES: strict_equality_for_none = true
181+
local_partial_types = true
179182
disallow_any_unimported = true
180183
warn_unreachable = true
181184
disallow_any_explicit = true

0 commit comments

Comments
 (0)