Skip to content

Commit 2572c6d

Browse files
authored
Merge branch 'main' into bump-version
2 parents 301dbea + 6fee91d commit 2572c6d

3 files changed

Lines changed: 18 additions & 21 deletions

File tree

.github/workflows/greetings.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ jobs:
99
issues: write
1010
pull-requests: write
1111
steps:
12-
- uses: actions/first-interaction@753c925c8d1ac6fede23781875376600628d9b5d # v3.0.0
12+
- uses: actions/first-interaction@1c4688942c71f71d4f5502a26ea67c331730fa4d # v3.1.0
1313
with:
14-
repo-token: ${{ secrets.GITHUB_TOKEN }}
15-
issue-message: "It looks like this is your first issue here – welcome! Please familiarize yourself with the [contributing guidelines](https://github.com/stefmolin/docstringify/blob/main/CONTRIBUTING.md), if you haven't already."
16-
pr-message: "Congratulations on making your first pull request to `docstringify`! Please familiarize yourself with the [contributing guidelines](https://github.com/stefmolin/docstringify/blob/main/CONTRIBUTING.md), if you haven't already."
14+
repo_token: ${{ secrets.GITHUB_TOKEN }}
15+
issue_message: "It looks like this is your first issue here – welcome! Please familiarize yourself with the [contributing guidelines](https://github.com/stefmolin/docstringify/blob/main/CONTRIBUTING.md), if you haven't already."
16+
pr_message: "Congratulations on making your first pull request to `docstringify`! Please familiarize yourself with the [contributing guidelines](https://github.com/stefmolin/docstringify/blob/main/CONTRIBUTING.md), if you haven't already."

.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)