Skip to content

Commit c0b0e2c

Browse files
chore: update pre-commit hooks (#2049)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 2492a68 commit c0b0e2c

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repos:
2121
- id: trailing-whitespace
2222

2323
- repo: https://github.com/python-jsonschema/check-jsonschema
24-
rev: 0.26.3
24+
rev: 0.27.0
2525
hooks:
2626
- id: check-github-workflows
2727

@@ -33,7 +33,7 @@ repos:
3333
[mdformat-gfm, mdformat-frontmatter, mdformat-footnote]
3434

3535
- repo: https://github.com/pre-commit/mirrors-prettier
36-
rev: "v3.0.2"
36+
rev: "v3.0.3"
3737
hooks:
3838
- id: prettier
3939
types_or: [yaml, html, json]
@@ -45,12 +45,12 @@ repos:
4545
additional_dependencies: [black==23.7.0]
4646

4747
- repo: https://github.com/psf/black-pre-commit-mirror
48-
rev: 23.7.0
48+
rev: 23.9.1
4949
hooks:
5050
- id: black
5151

5252
- repo: https://github.com/codespell-project/codespell
53-
rev: "v2.2.5"
53+
rev: "v2.2.6"
5454
hooks:
5555
- id: codespell
5656
args: ["-L", "sur,nd"]
@@ -63,13 +63,13 @@ repos:
6363
- id: rst-inline-touching-normal
6464

6565
- repo: https://github.com/astral-sh/ruff-pre-commit
66-
rev: v0.0.287
66+
rev: v0.0.292
6767
hooks:
6868
- id: ruff
6969
args: ["--fix", "--show-fixes"]
7070

7171
- repo: https://github.com/scientific-python/cookie
72-
rev: "2023.08.23"
72+
rev: "2023.09.21"
7373
hooks:
7474
- id: sp-repo-review
7575
additional_dependencies: ["repo-review[cli]"]

tests/filters/test_citation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113

114114

115115
@pytest.mark.parametrize(
116-
["in_arg", "out_arg"], [(in_arg, out_arg) for (in_arg, out_arg) in test_md.items()]
116+
["in_arg", "out_arg"], list(test_md.items())
117117
)
118118
def test_citation2latex(in_arg, out_arg):
119119
"""Are citations parsed properly?"""

0 commit comments

Comments
 (0)