diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fa5f6cd..0887601 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/tox-dev/pyproject-fmt - rev: "1.5.1" + rev: "1.5.3" hooks: - id: pyproject-fmt - repo: https://github.com/astral-sh/ruff-pre-commit diff --git a/pyproject.toml b/pyproject.toml index 00816ae..5223d16 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -240,26 +240,6 @@ markers = [ "noplugin: tests which must run without plugins installed", ] -[tool.mypy] -python_version = 3.8 -namespace_packages = true -explicit_package_bases = true -check_untyped_defs = true -disallow_any_generics = true -disallow_incomplete_defs = true -disallow_subclassing_any = true -disallow_untyped_calls = true -disallow_untyped_decorators = true -disallow_untyped_defs = true -follow_imports = "normal" -no_implicit_optional = true -strict_equality = true -warn_no_return = true -warn_redundant_casts = true -warn_return_any = true -warn_unused_ignores = true -exclude = ['tests/test_plugin/build'] - [tool.towncrier] name = "jinjanator" package = "jinjanator" @@ -298,3 +278,23 @@ showcontent = true directory = "fixing" name = "Fixes" showcontent = true + +[tool.mypy] +python_version = 3.8 +namespace_packages = true +explicit_package_bases = true +check_untyped_defs = true +disallow_any_generics = true +disallow_incomplete_defs = true +disallow_subclassing_any = true +disallow_untyped_calls = true +disallow_untyped_decorators = true +disallow_untyped_defs = true +follow_imports = "normal" +no_implicit_optional = true +strict_equality = true +warn_no_return = true +warn_redundant_casts = true +warn_return_any = true +warn_unused_ignores = true +exclude = ['tests/test_plugin/build']