Skip to content

Commit

Permalink
some small tweaks for MyPy 1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Nov 14, 2023
1 parent 689ac49 commit 138e249
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mypy-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mypy==1.7.0 # update pyproject.toml as well
mypy[mypyc]==1.7.0 # update pyproject.toml as well
black>=19.10b0
types-pkg_resources
types-requests
Expand Down
1 change: 0 additions & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ show_column_numbers = true
show_error_codes = true
pretty = true
warn_unreachable = True
new_type_inference = True
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[build-system]
requires = [
"setuptools>=45",
"setuptools>=50", # 50 is to match mypyc's minimum
"setuptools_scm[toml]>=8.0.4,<9",
'mypy==1.7.0', # update mypy-requirements as well
'mypy[mypyc]==1.7.0', # update mypy-requirements as well
"black>=19.10b0,<23.12",
"types-pkg_resources",
"types-requests",
Expand Down

0 comments on commit 138e249

Please sign in to comment.