Skip to content

Commit ad5d26b

Browse files
committed
update pre-commit hooks and use new reuse metadata
1 parent 8109696 commit ad5d26b

3 files changed

Lines changed: 21 additions & 17 deletions

File tree

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
repos:
22
# Various general + format-specific helpers
33
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v4.6.0
4+
rev: v5.0.0
55
hooks:
66
- id: check-symlinks
77
- id: trailing-whitespace
@@ -18,12 +18,12 @@ repos:
1818
- id: check-added-large-files
1919
args: [--maxkb=10000]
2020
- repo: https://github.com/python-jsonschema/check-jsonschema
21-
rev: '0.29.0'
21+
rev: '0.31.2'
2222
hooks:
2323
- id: check-github-workflows
2424
- repo: https://github.com/astral-sh/ruff-pre-commit
2525
# Ruff version.
26-
rev: v0.5.4
26+
rev: v0.9.9
2727
hooks:
2828
# Run the linter.
2929
- id: ruff
@@ -33,7 +33,7 @@ repos:
3333
- id: ruff-format
3434
types_or: [python, pyi, jupyter]
3535
- repo: https://github.com/pre-commit/mirrors-mypy
36-
rev: 'v1.11.0'
36+
rev: 'v1.15.0'
3737
hooks:
3838
- id: mypy
3939
args: [--no-strict-optional, --ignore-missing-imports]
@@ -46,7 +46,7 @@ repos:
4646
hooks:
4747
- id: validate-cff
4848
- repo: https://github.com/fsfe/reuse-tool
49-
rev: 'v4.0.3'
49+
rev: 'v5.0.2'
5050
hooks:
5151
- id: reuse
5252

.reuse/dep5

Lines changed: 0 additions & 12 deletions
This file was deleted.

REUSE.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
version = 1
2+
SPDX-PackageName = "somesy"
3+
SPDX-PackageSupplier = "Mustafa Soylu <m.soylu@fz-juelich.de>"
4+
SPDX-PackageDownloadLocation = "https://github.com/Materials-Data-Science-and-Informatics/somesy"
5+
6+
[[annotations]]
7+
path = [".gitignore", "pyproject.toml", "poetry.lock", ".pre-commit-config.yaml", ".pre-commit-hooks.yaml", ".sourcery.yaml", ".somesy.toml", "codemeta.json", "CITATION.cff", "README.md", "RELEASE_NOTES.md", "CHANGELOG.md", "CODE_OF_CONDUCT.md", "AUTHORS.md", "CONTRIBUTING.md", ".gitlab-ci.yml", ".gitlab/**", ".github/**", "mkdocs.yml", "docs/**"]
8+
precedence = "aggregate"
9+
SPDX-FileCopyrightText = "2023 Forschungszentrum Jülich GmbH - Institute Materials Data Science and Informatics (IAS9) - Stefan Sandfeld (s.sandfeld@fz-juelich.de)"
10+
SPDX-License-Identifier = "CC0-1.0"
11+
12+
[[annotations]]
13+
path = ["src/somesy/**", "tests/**"]
14+
precedence = "aggregate"
15+
SPDX-FileCopyrightText = "2023 Forschungszentrum Jülich GmbH - Institute Materials Data Science and Informatics (IAS9) - Stefan Sandfeld (s.sandfeld@fz-juelich.de)"
16+
SPDX-License-Identifier = "MIT"

0 commit comments

Comments
 (0)