diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a29230e..ad896a8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,12 +24,6 @@ repos: - id: rst-directive-colons - id: rst-inline-touching-normal -- repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.8.0 - hooks: - - id: mypy - args: [--strict] - - repo: https://github.com/abravalheri/validate-pyproject rev: v0.15 hooks: diff --git a/pyproject.toml b/pyproject.toml index ec4951e..a3c3e09 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,6 +21,7 @@ dev = [ "pre-commit>=3.2.2", "pytest>=7.3.1", "pytest-cov>=4.0.0", + "pytest-mypy>=0.10.3", "ruff>=0.0.262", ] @@ -37,7 +38,7 @@ strip = true sdist-generator = "cargo" [tool.pytest.ini_options] -addopts = "--tb=native --cov=binharness --cov-report lcov:.lcov --cov-report term-missing" +addopts = "--tb=native --cov=binharness --cov-report lcov:.lcov --cov-report term-missing --mypy" markers = ["linux", "darwin", "win32"] [tool.coverage.run]