Skip to content

Commit 6f3c205

Browse files
authored
Merge pull request #33 from Materials-Data-Science-and-Informatics/feature/poetryv2
Feature/poetryv2
2 parents d6088a5 + 285b6a5 commit 6f3c205

File tree

23 files changed

+995
-882
lines changed

23 files changed

+995
-882
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
fail-fast: true
7474
matrix:
7575
os: [ "ubuntu-latest", "macos-latest", "windows-latest" ]
76-
python-version: [ "3.8", "3.9", "3.10", "3.11" ]
76+
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
7777
runs-on: ${{ matrix.os }}
7878

7979
steps:

.pre-commit-config.yaml

Lines changed: 6 additions & 6 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]
@@ -33,18 +33,18 @@ repos:
3333
hooks:
3434
- id: validate-cff
3535
- repo: https://github.com/fsfe/reuse-tool
36-
rev: 'v3.0.2'
36+
rev: 'v5.0.2'
3737
hooks:
3838
- id: reuse
3939

4040
- repo: https://github.com/Materials-Data-Science-and-Informatics/somesy
41-
rev: 'v0.4.3'
41+
rev: 'v0.7.1'
4242
hooks:
4343
- id: somesy
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/dep5

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

.somesy.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "fair-python-cookiecutter"
3-
version = "0.3.2"
3+
version = "1.0.0"
44
description = "An opinionated cookiecutter template to kickstart a modern best-practice Python project with FAIR metadata. "
55

66
license = "MIT"

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ type: software
33
message: If you use this software, please cite it using this metadata.
44

55
title: "fair-python-cookiecutter"
6-
version: "0.3.2"
6+
version: "1.0.0"
77
abstract: "An opinionated cookiecutter template to kickstart a modern best-practice
88
Python project with FAIR metadata."
99
repository-code: "https://github.com/Materials-Data-Science-and-Informatics/fair-python-cookiecutter"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ recommendations on the state of software citation in academic practice.
8787

8888
## Getting Started
8989

90-
Make sure that you have a working Python interpreter in version at least 3.8,
90+
Make sure that you have a working Python interpreter in version at least 3.9,
9191
`git` and [`poetry`](https://python-poetry.org/docs/#installation) installed.
9292

9393
To install the template, run `pip install fair-python-cookiecutter`.

REUSE.toml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
version = 1
2+
SPDX-PackageName = "fair-python-cookiecutter"
3+
SPDX-PackageSupplier = "Anton Pirogov <[email protected]>"
4+
SPDX-PackageDownloadLocation = "https://github.com/Materials-Data-Science-and-Informatics/fair-python-cookiecutter"
5+
6+
[[annotations]]
7+
path = ["{{ cookiecutter**"]
8+
precedence = "override"
9+
SPDX-FileCopyrightText = "2023 Forschungszentrum Jülich GmbH - Institute for Materials Data Science and Informatics (IAS9) - Stefan Sandfeld <[email protected]>"
10+
SPDX-License-Identifier = "CC0-1.0"
11+
12+
[[annotations]]
13+
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 = "override"
15+
SPDX-FileCopyrightText = "2023 Forschungszentrum Jülich GmbH - Institute for Materials Data Science and Informatics (IAS9) - Stefan Sandfeld <[email protected]>"
16+
SPDX-License-Identifier = "CC0-1.0"
17+
18+
[[annotations]]
19+
path = ["src/**", "tests/**", "hooks/**"]
20+
precedence = "override"
21+
SPDX-FileCopyrightText = "2023 Forschungszentrum Jülich GmbH - Institute for Materials Data Science and Informatics (IAS9) - Stefan Sandfeld <[email protected]>"
22+
SPDX-License-Identifier = "MIT"

codemeta.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,21 @@
1313
"givenName": "Anton",
1414
"familyName": "Pirogov",
1515
"email": "[email protected]",
16-
"@id": "https://orcid.org/0000-0002-5077-7497"
16+
"@id": "https://orcid.org/0000-0002-5077-7497",
17+
"identifier": "https://orcid.org/0000-0002-5077-7497"
1718
},
1819
{
1920
"@type": "Person",
2021
"givenName": "Mustafa",
2122
"familyName": "Soylu",
2223
"email": "[email protected]",
23-
"@id": "https://orcid.org/0000-0003-2637-0432"
24+
"@id": "https://orcid.org/0000-0003-2637-0432",
25+
"identifier": "https://orcid.org/0000-0003-2637-0432"
2426
}
2527
],
2628
"name": "fair-python-cookiecutter",
2729
"description": "An opinionated cookiecutter template to kickstart a modern best-practice Python project with FAIR metadata.",
28-
"version": "0.3.2",
30+
"version": "1.0.0",
2931
"keywords": [
3032
"fair",
3133
"metadata",
@@ -39,7 +41,8 @@
3941
"givenName": "Mustafa",
4042
"familyName": "Soylu",
4143
"email": "[email protected]",
42-
"@id": "https://orcid.org/0000-0003-2637-0432"
44+
"@id": "https://orcid.org/0000-0003-2637-0432",
45+
"identifier": "https://orcid.org/0000-0003-2637-0432"
4346
}
4447
],
4548
"license": [

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ plugins:
126126
- literate-nav:
127127
nav_file: SUMMARY.md
128128
- section-index
129+
- autorefs
129130
- mkdocstrings:
130131
handlers:
131132
python:

0 commit comments

Comments
 (0)