Skip to content

Commit 6fee91d

Browse files
[pre-commit.ci] pre-commit autoupdate (#79)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/codespell-project/codespell: v2.4.1 → v2.4.2](codespell-project/codespell@v2.4.1...v2.4.2) - [github.com/numpy/numpydoc: v1.9.0 → v1.10.0](numpy/numpydoc@v1.9.0...v1.10.0) - [github.com/astral-sh/ruff-pre-commit: v0.14.2 → v0.15.9](astral-sh/ruff-pre-commit@v0.14.2...v0.15.9) - [github.com/tox-dev/pyproject-fmt: v2.7.0 → v2.21.0](tox-dev/pyproject-fmt@v2.7.0...v2.21.0) * Bump ruff-pre-commit and pyproject-fmt versions * Lint pyproject.toml --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Stefanie Molin <24376333+stefmolin@users.noreply.github.com>
1 parent 54f65c0 commit 6fee91d

2 files changed

Lines changed: 14 additions & 17 deletions

File tree

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ repos:
1212
- id: trailing-whitespace
1313

1414
- repo: https://github.com/codespell-project/codespell
15-
rev: v2.4.1
15+
rev: v2.4.2
1616
hooks:
1717
- id: codespell
1818
additional_dependencies:
1919
- tomli
2020
exclude: (\.(svg|png|pdf)$)|(CODE_OF_CONDUCT.md)
2121

2222
- repo: https://github.com/numpy/numpydoc
23-
rev: v1.9.0
23+
rev: v1.10.0
2424
hooks:
2525
- id: numpydoc-validation
2626
exclude: (tests|docs)/.*
@@ -38,14 +38,14 @@ repos:
3838
files: tests/.*
3939

4040
- repo: https://github.com/astral-sh/ruff-pre-commit
41-
rev: v0.14.2
41+
rev: v0.15.12
4242
hooks:
4343
- id: ruff-check
4444
args: [--fix, --exit-non-zero-on-fix, --show-fixes]
4545
- id: ruff-format
4646

4747
- repo: https://github.com/tox-dev/pyproject-fmt
48-
rev: v2.7.0
48+
rev: v2.21.1
4949
hooks:
5050
- id: pyproject-fmt
5151
args: [--keep-full-version, --no-print-diff]

pyproject.toml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[build-system]
22
build-backend = "hatchling.build"
3-
43
requires = [ "hatchling" ]
54

65
[project]
@@ -28,17 +27,16 @@ classifiers = [
2827
"Programming Language :: Python :: 3.11",
2928
"Programming Language :: Python :: 3.12",
3029
"Programming Language :: Python :: 3.13",
30+
"Programming Language :: Python :: 3.14",
3131
]
32-
33-
dependencies = [ ]
32+
dependencies = []
3433
urls.Documentation = "https://github.com/stefmolin/docstringify"
3534
urls.Homepage = "https://github.com/stefmolin/docstringify"
3635
urls.Source = "https://github.com/stefmolin/docstringify"
3736
scripts.docstringify = "docstringify.cli:main"
3837

3938
[dependency-groups]
4039
dev = [ "pre-commit", { include-group = "test" } ]
41-
4240
test = [
4341
"pytest>=8.3.4",
4442
"pytest-cov>=4.1.0",
@@ -77,16 +75,15 @@ lint.select = [
7775
lint.ignore = [
7876
"E501", # line-too-long
7977
]
80-
81-
lint.extend-per-file-ignores."tests/*" = [ "ANN" ] # don't require annotations for tests
78+
lint.extend-per-file-ignores."tests/*" = [ "ANN" ] # don't require annotations for tests
8279
lint.isort.known-first-party = [
8380
"docstringify",
8481
]
8582
lint.isort.split-on-trailing-comma = false
8683

8784
[tool.codespell]
8885
ignore-words-list = "docstringify"
89-
ignore-regex = 'https://([\w/\.])+'
86+
ignore-regex = "https://([\\w/\\.])+"
9087

9188
[tool.numpydoc_validation]
9289
checks = [
@@ -97,11 +94,11 @@ checks = [
9794
"SA01", # or a see also section
9895
"SS06", # and don't require the summary to fit on one line
9996
]
100-
exclude = [ # don't report on checks for these
101-
'\.__init__$',
102-
'\.__repr__$',
103-
'\.__str__$',
97+
exclude = [ # don't report on checks for these
98+
"\\.__init__$",
99+
"\\.__repr__$",
100+
"\\.__str__$",
104101
]
105-
override_SS05 = [ # allow docstrings to start with these words
106-
'^Unambiguous ',
102+
override_SS05 = [ # allow docstrings to start with these words
103+
"^Unambiguous ",
107104
]

0 commit comments

Comments
 (0)