From ceab5414c40da052e7c0318c70c5fe2a91017c35 Mon Sep 17 00:00:00 2001 From: Amir Mohammadi Date: Tue, 9 Jul 2024 12:18:43 +0200 Subject: [PATCH] fix: reuse pre-commit hook was not running --- .gitattributes | 5 +++++ .github/dependabot.yml | 5 +++++ .github/workflows/build.yml | 5 +++++ .github/workflows/codeql.yml | 5 +++++ .github/workflows/coverage.yml | 5 +++++ .github/workflows/documentation-links.yml | 5 +++++ .github/workflows/pre-commit.yml | 5 +++++ .github/workflows/publish-pypi.yml | 5 +++++ .gitignore | 3 ++- .pre-commit-config.yaml | 8 ++------ .readthedocs.yaml | 5 +++-- .reuse/dep5 | 10 ---------- README.md | 3 ++- doc/conf.py | 3 ++- doc/index.rst | 3 ++- pixi.lock.license | 4 ++++ pyproject.toml | 3 ++- 17 files changed, 59 insertions(+), 23 deletions(-) delete mode 100644 .reuse/dep5 create mode 100644 pixi.lock.license diff --git a/.gitattributes b/.gitattributes index 07fe41c..a70c184 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,7 @@ +# SPDX-FileCopyrightText: 2024 Idiap Research Institute +# SPDX-FileContributor: Amir Mohammadi +# +# SPDX-License-Identifier: GPL-3.0-or-later + # GitHub syntax highlighting pixi.lock linguist-language=YAML linguist-generated=true diff --git a/.github/dependabot.yml b/.github/dependabot.yml index d77056e..1ea6e69 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,3 +1,8 @@ +# SPDX-FileCopyrightText: 2024 Idiap Research Institute +# SPDX-FileContributor: Amir Mohammadi +# +# SPDX-License-Identifier: GPL-3.0-or-later + version: 2 updates: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e121324..9f234a4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,3 +1,8 @@ +# SPDX-FileCopyrightText: 2024 Idiap Research Institute +# SPDX-FileContributor: Amir Mohammadi +# +# SPDX-License-Identifier: GPL-3.0-or-later + name: build on: diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 73f1ff1..be7bc94 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -1,3 +1,8 @@ +# SPDX-FileCopyrightText: 2024 Idiap Research Institute +# SPDX-FileContributor: Amir Mohammadi +# +# SPDX-License-Identifier: GPL-3.0-or-later + # For most projects, this workflow file will not need changing; you simply need # to commit it to your repository. # diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 2667508..0b1d0e9 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -1,3 +1,8 @@ +# SPDX-FileCopyrightText: 2024 Idiap Research Institute +# SPDX-FileContributor: Amir Mohammadi +# +# SPDX-License-Identifier: GPL-3.0-or-later + name: Post coverage comment on: diff --git a/.github/workflows/documentation-links.yml b/.github/workflows/documentation-links.yml index 6c48fe5..ae624c2 100644 --- a/.github/workflows/documentation-links.yml +++ b/.github/workflows/documentation-links.yml @@ -1,3 +1,8 @@ +# SPDX-FileCopyrightText: 2024 Idiap Research Institute +# SPDX-FileContributor: Amir Mohammadi +# +# SPDX-License-Identifier: GPL-3.0-or-later + name: readthedocs preview on: pull_request_target: diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index dca5bed..0f614b4 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -1,3 +1,8 @@ +# SPDX-FileCopyrightText: 2024 Idiap Research Institute +# SPDX-FileContributor: Amir Mohammadi +# +# SPDX-License-Identifier: GPL-3.0-or-later + name: pre-commit on: diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index 286ddbd..7f01449 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -1,3 +1,8 @@ +# SPDX-FileCopyrightText: 2024 Idiap Research Institute +# SPDX-FileContributor: Amir Mohammadi +# +# SPDX-License-Identifier: GPL-3.0-or-later + # From https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-pypi name: Upload Python Package diff --git a/.gitignore b/.gitignore index 522636e..b35b0b4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ -# SPDX-FileCopyrightText: Copyright © 2022 Idiap Research Institute +# SPDX-FileCopyrightText: 2024 Idiap Research Institute +# SPDX-FileContributor: Amir Mohammadi # # SPDX-License-Identifier: GPL-3.0-or-later diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0da2055..87f37a8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,4 +1,5 @@ -# SPDX-FileCopyrightText: Copyright © 2023 Idiap Research Institute +# SPDX-FileCopyrightText: 2024 Idiap Research Institute +# SPDX-FileContributor: Amir Mohammadi # SPDX-FileContributor: Andre Anjos # # SPDX-License-Identifier: GPL-3.0-or-later @@ -46,8 +47,3 @@ repos: rev: v3.0.2 hooks: - id: reuse - exclude: | - (?x)( - ^.pixi/| - ^.pixi.lock| - ) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 26ddb22..d93240e 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -1,4 +1,5 @@ -# SPDX-FileCopyrightText: Copyright © 2023 Idiap Research Institute +# SPDX-FileCopyrightText: 2024 Idiap Research Institute +# SPDX-FileContributor: Amir Mohammadi # # SPDX-License-Identifier: GPL-3.0-or-later @@ -7,7 +8,7 @@ version: 2 build: os: "ubuntu-22.04" tools: - python: "3.12" + python: "3.9" python: install: diff --git a/.reuse/dep5 b/.reuse/dep5 deleted file mode 100644 index 321d265..0000000 --- a/.reuse/dep5 +++ /dev/null @@ -1,10 +0,0 @@ -Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -Upstream-Name: gridtk -Upstream-Contact: Andre Anjos -Source: https://github.com/idiap/gridtk/ - -Files: - pixi.lock - doc/catalog.json -Copyright: Copyright © 2022 Idiap Research Institute -License: GPL-3.0-or-later diff --git a/README.md b/README.md index fe55d9a..0327440 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ diff --git a/doc/conf.py b/doc/conf.py index 7de274b..8371418 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -1,4 +1,5 @@ -# SPDX-FileCopyrightText: Copyright © 2022 Idiap Research Institute +# SPDX-FileCopyrightText: 2024 Idiap Research Institute +# SPDX-FileContributor: Amir Mohammadi # # SPDX-License-Identifier: GPL-3.0-or-later diff --git a/doc/index.rst b/doc/index.rst index 5157145..e56d980 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -1,4 +1,5 @@ -.. SPDX-FileCopyrightText: Copyright © 2022 Idiap Research Institute +.. SPDX-FileCopyrightText: 2024 Idiap Research Institute +.. SPDX-FileContributor: Amir Mohammadi .. .. SPDX-License-Identifier: GPL-3.0-or-later diff --git a/pixi.lock.license b/pixi.lock.license new file mode 100644 index 0000000..dc86cde --- /dev/null +++ b/pixi.lock.license @@ -0,0 +1,4 @@ +SPDX-FileCopyrightText: 2024 Idiap Research Institute +SPDX-FileContributor: Amir Mohammadi + +SPDX-License-Identifier: GPL-3.0-or-later diff --git a/pyproject.toml b/pyproject.toml index 3987806..680afae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,4 +1,5 @@ -# SPDX-FileCopyrightText: Copyright © 2022 Idiap Research Institute +# SPDX-FileCopyrightText: 2024 Idiap Research Institute +# SPDX-FileContributor: Amir Mohammadi # # SPDX-License-Identifier: GPL-3.0-or-later