diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bafab5d..ae95daa 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,12 +22,6 @@ repos: args: [ --config, pyproject.toml ] types_or: [ python ] - - repo: https://github.com/pre-commit/mirrors-mypy - rev: v2.1.0 - hooks: - - id: mypy - args: [--config, pyproject.toml] - - repo: https://github.com/astral-sh/ty-pre-commit rev: v0.0.55 hooks: diff --git a/pyproject.toml b/pyproject.toml index de83b7e..8e2e29e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,7 +60,7 @@ line-length = 120 src = ["src", "tests"] [tool.ruff.lint] -select = ["E", "F", "D", "B", "I", "ARG"] +select = ["E", "F", "D", "B", "I", "ARG", "ANN"] ignore = [ "D100", "D101", @@ -77,12 +77,6 @@ ignore = [ [tool.ruff.lint.pydocstyle] convention = "numpy" -[tool.mypy] -ignore_missing_imports = true -disallow_untyped_calls = true -disallow_untyped_defs = true -disallow_incomplete_defs = true - [tool.ty.rules] no-matching-overload = "ignore"