Skip to content

Commit

Permalink
Another round of linter fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
kpfleming committed Dec 2, 2023
1 parent e03ef00 commit 224aaf0
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
40 changes: 20 additions & 20 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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']

0 comments on commit 224aaf0

Please sign in to comment.