Skip to content

Commit

Permalink
Maintenance: Update mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Sep 6, 2023
1 parent a5ccdd2 commit 7e48674
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,15 @@ target-version = ['py38']
requires = ["setuptools>=58", "wheel", "setuptools_scm>=6.2"]

[tool.setuptools_scm]

[tool.mypy]
packages = ["crate", "tests"]
check_untyped_defs = true
ignore_missing_imports = true
implicit_optional = false
install_types = true
non_interactive = true
show_error_codes = true
strict_equality = true
warn_unused_ignores = false
warn_redundant_casts = false
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def read(path: str) -> str:
"black==22.3.0",
"flake8==3.8.4",
"isort==5.12.0",
"mypy==0.770",
"mypy<2",
],
},
python_requires=">=3.8",
Expand Down

0 comments on commit 7e48674

Please sign in to comment.