Skip to content

Commit 0bdf0e0

Browse files
committed
update pre-commit tool versions
1 parent 6332697 commit 0bdf0e0

3 files changed

Lines changed: 11 additions & 11 deletions

File tree

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ exclude: 'src/fair_python_cookiecutter/template/.*' # <-- added
55
repos:
66
# GH Actions
77
- repo: https://github.com/python-jsonschema/check-jsonschema
8-
rev: '0.28.6'
8+
rev: '0.31.2'
99
hooks:
1010
- id: check-github-workflows
1111

1212
# Code Quality
1313
- repo: https://github.com/astral-sh/ruff-pre-commit
14-
rev: v0.5.0
14+
rev: v0.9.9
1515
hooks:
1616
- id: ruff
1717
types_or: [python, pyi, jupyter]
@@ -20,7 +20,7 @@ repos:
2020
types_or: [python, pyi, jupyter]
2121

2222
- repo: https://github.com/pre-commit/mirrors-mypy
23-
rev: 'v1.10.1'
23+
rev: 'v1.15.0'
2424
hooks:
2525
- id: mypy
2626
args: [--no-strict-optional, --ignore-missing-imports]
@@ -44,7 +44,7 @@ repos:
4444

4545
# Various general + format-specific helpers
4646
- repo: https://github.com/pre-commit/pre-commit-hooks
47-
rev: v4.6.0
47+
rev: v5.0.0
4848
hooks:
4949
- id: check-symlinks
5050
- id: trailing-whitespace

REUSE.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@ SPDX-PackageDownloadLocation = "https://github.com/Materials-Data-Science-and-In
55

66
[[annotations]]
77
path = ["{{ cookiecutter**"]
8-
precedence = "aggregate"
8+
precedence = "override"
99
SPDX-FileCopyrightText = "2023 Forschungszentrum Jülich GmbH - Institute for Materials Data Science and Informatics (IAS9) - Stefan Sandfeld <s.sandfeld@fz-juelich.de>"
1010
SPDX-License-Identifier = "CC0-1.0"
1111

1212
[[annotations]]
1313
path = [".gitignore", "pyproject.toml", "poetry.lock", ".pre-commit-config.yaml", ".somesy.toml", "codemeta.json", "CITATION.cff", "README.md", "RELEASE_NOTES.md", "CHANGELOG.md", "CODE_OF_CONDUCT.md", "AUTHORS.md", "CONTRIBUTING.md", ".github/**", "mkdocs.yml", "**.txt", "docs/**", "REUSE.toml", "somesy.toml"]
14-
precedence = "aggregate"
14+
precedence = "override"
1515
SPDX-FileCopyrightText = "2023 Forschungszentrum Jülich GmbH - Institute for Materials Data Science and Informatics (IAS9) - Stefan Sandfeld <s.sandfeld@fz-juelich.de>"
1616
SPDX-License-Identifier = "CC0-1.0"
1717

1818
[[annotations]]
1919
path = ["src/**", "tests/**", "hooks/**"]
20-
precedence = "aggregate"
20+
precedence = "override"
2121
SPDX-FileCopyrightText = "2023 Forschungszentrum Jülich GmbH - Institute for Materials Data Science and Informatics (IAS9) - Stefan Sandfeld <s.sandfeld@fz-juelich.de>"
2222
SPDX-License-Identifier = "MIT"

src/fair_python_cookiecutter/template/{{ cookiecutter.project_slug }}/.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
repos:
44
# GH Actions
55
- repo: https://github.com/python-jsonschema/check-jsonschema
6-
rev: '0.28.6'
6+
rev: '0.31.2'
77
hooks:
88
- id: check-github-workflows
99

1010
# Quality
1111
- repo: https://github.com/astral-sh/ruff-pre-commit
12-
rev: v0.5.0
12+
rev: v0.9.9
1313
hooks:
1414
- id: ruff
1515
types_or: [python, pyi, jupyter]
@@ -18,7 +18,7 @@ repos:
1818
types_or: [python, pyi, jupyter]
1919

2020
- repo: https://github.com/pre-commit/mirrors-mypy
21-
rev: 'v1.10.1'
21+
rev: 'v1.15.0'
2222
hooks:
2323
- id: mypy
2424
args: [--no-strict-optional, --ignore-missing-imports]
@@ -44,7 +44,7 @@ repos:
4444
# Various general + format-specific helpers
4545
# (run last to fix general syntactic defects)
4646
- repo: https://github.com/pre-commit/pre-commit-hooks
47-
rev: v4.6.0
47+
rev: v5.0.0
4848
hooks:
4949
# - id: mixed-line-ending
5050
# args: [--fix=lf]

0 commit comments

Comments
 (0)