Skip to content

Commit de68914

Browse files
chore(deps): update pre-commit hook tox-dev/pyproject-fmt to v2.19.0 (#244)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 810c249 commit de68914

2 files changed

Lines changed: 17 additions & 17 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ repos:
3838
- id: end-of-file-fixer
3939
- id: trailing-whitespace
4040
- repo: https://github.com/tox-dev/pyproject-fmt
41-
rev: "v2.18.1"
41+
rev: "v2.19.0"
4242
hooks:
4343
- id: pyproject-fmt
4444
- repo: https://github.com/34j/sync-python-matrix

pyproject.toml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,22 @@ lint.per-file-ignores."tests/**/*" = [
9595
]
9696
lint.isort.known-first-party = [ "array_api", "tests" ]
9797

98+
[tool.mypy]
99+
check_untyped_defs = true
100+
disallow_any_generics = false
101+
disallow_incomplete_defs = true
102+
disallow_untyped_defs = true
103+
mypy_path = "src/"
104+
no_implicit_optional = true
105+
show_error_codes = true
106+
warn_unreachable = true
107+
warn_unused_ignores = true
108+
exclude = [
109+
"docs/.*",
110+
"setup.py",
111+
]
112+
overrides = [ { module = "tests.*", allow_untyped_defs = true }, { module = "docs.*", ignore_errors = true } ]
113+
98114
[tool.pytest]
99115
ini_options.addopts = """\
100116
-v
@@ -115,22 +131,6 @@ report.exclude_lines = [
115131
"raise NotImplementedError",
116132
]
117133

118-
[tool.mypy]
119-
check_untyped_defs = true
120-
disallow_any_generics = false
121-
disallow_incomplete_defs = true
122-
disallow_untyped_defs = true
123-
mypy_path = "src/"
124-
no_implicit_optional = true
125-
show_error_codes = true
126-
warn_unreachable = true
127-
warn_unused_ignores = true
128-
exclude = [
129-
"docs/.*",
130-
"setup.py",
131-
]
132-
overrides = [ { module = "tests.*", allow_untyped_defs = true }, { module = "docs.*", ignore_errors = true } ]
133-
134134
[tool.semantic_release]
135135
version_toml = [ "pyproject.toml:project.version" ]
136136
version_variables = [

0 commit comments

Comments
 (0)