Skip to content

Commit

Permalink
fix: reuse pre-commit hook was not running
Browse files Browse the repository at this point in the history
  • Loading branch information
183amir committed Jul 9, 2024
1 parent 581b84c commit ceab541
Show file tree
Hide file tree
Showing 17 changed files with 59 additions and 23 deletions.
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
# SPDX-FileCopyrightText: 2024 Idiap Research Institute <[email protected]>
# SPDX-FileContributor: Amir Mohammadi <[email protected]>
#
# SPDX-License-Identifier: GPL-3.0-or-later

# GitHub syntax highlighting
pixi.lock linguist-language=YAML linguist-generated=true
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2024 Idiap Research Institute <[email protected]>
# SPDX-FileContributor: Amir Mohammadi <[email protected]>
#
# SPDX-License-Identifier: GPL-3.0-or-later

version: 2

updates:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2024 Idiap Research Institute <[email protected]>
# SPDX-FileContributor: Amir Mohammadi <[email protected]>
#
# SPDX-License-Identifier: GPL-3.0-or-later

name: build

on:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2024 Idiap Research Institute <[email protected]>
# SPDX-FileContributor: Amir Mohammadi <[email protected]>
#
# 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.
#
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2024 Idiap Research Institute <[email protected]>
# SPDX-FileContributor: Amir Mohammadi <[email protected]>
#
# SPDX-License-Identifier: GPL-3.0-or-later

name: Post coverage comment

on:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/documentation-links.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2024 Idiap Research Institute <[email protected]>
# SPDX-FileContributor: Amir Mohammadi <[email protected]>
#
# SPDX-License-Identifier: GPL-3.0-or-later

name: readthedocs preview
on:
pull_request_target:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2024 Idiap Research Institute <[email protected]>
# SPDX-FileContributor: Amir Mohammadi <[email protected]>
#
# SPDX-License-Identifier: GPL-3.0-or-later

name: pre-commit

on:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2024 Idiap Research Institute <[email protected]>
# SPDX-FileContributor: Amir Mohammadi <[email protected]>
#
# 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
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# SPDX-FileCopyrightText: Copyright © 2022 Idiap Research Institute <[email protected]>
# SPDX-FileCopyrightText: 2024 Idiap Research Institute <[email protected]>
# SPDX-FileContributor: Amir Mohammadi <[email protected]>
#
# SPDX-License-Identifier: GPL-3.0-or-later

Expand Down
8 changes: 2 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# SPDX-FileCopyrightText: Copyright © 2023 Idiap Research Institute <[email protected]>
# SPDX-FileCopyrightText: 2024 Idiap Research Institute <[email protected]>
# SPDX-FileContributor: Amir Mohammadi <[email protected]>
# SPDX-FileContributor: Andre Anjos <[email protected]>
#
# SPDX-License-Identifier: GPL-3.0-or-later
Expand Down Expand Up @@ -46,8 +47,3 @@ repos:
rev: v3.0.2
hooks:
- id: reuse
exclude: |
(?x)(
^.pixi/|
^.pixi.lock|
)
5 changes: 3 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# SPDX-FileCopyrightText: Copyright © 2023 Idiap Research Institute <[email protected]>
# SPDX-FileCopyrightText: 2024 Idiap Research Institute <[email protected]>
# SPDX-FileContributor: Amir Mohammadi <[email protected]>
#
# SPDX-License-Identifier: GPL-3.0-or-later

Expand All @@ -7,7 +8,7 @@ version: 2
build:
os: "ubuntu-22.04"
tools:
python: "3.12"
python: "3.9"

python:
install:
Expand Down
10 changes: 0 additions & 10 deletions .reuse/dep5

This file was deleted.

3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<!--
SPDX-FileCopyrightText: Copyright © 2022 Idiap Research Institute <[email protected]>
SPDX-FileCopyrightText: 2024 Idiap Research Institute <[email protected]>
SPDX-FileContributor: Amir Mohammadi <[email protected]>
SPDX-License-Identifier: GPL-3.0-or-later
-->
Expand Down
3 changes: 2 additions & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# SPDX-FileCopyrightText: Copyright © 2022 Idiap Research Institute <[email protected]>
# SPDX-FileCopyrightText: 2024 Idiap Research Institute <[email protected]>
# SPDX-FileContributor: Amir Mohammadi <[email protected]>
#
# SPDX-License-Identifier: GPL-3.0-or-later

Expand Down
3 changes: 2 additions & 1 deletion doc/index.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.. SPDX-FileCopyrightText: Copyright © 2022 Idiap Research Institute <[email protected]>
.. SPDX-FileCopyrightText: 2024 Idiap Research Institute <[email protected]>
.. SPDX-FileContributor: Amir Mohammadi <[email protected]>
..
.. SPDX-License-Identifier: GPL-3.0-or-later
Expand Down
4 changes: 4 additions & 0 deletions pixi.lock.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
SPDX-FileCopyrightText: 2024 Idiap Research Institute <[email protected]>
SPDX-FileContributor: Amir Mohammadi <[email protected]>

SPDX-License-Identifier: GPL-3.0-or-later
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# SPDX-FileCopyrightText: Copyright © 2022 Idiap Research Institute <[email protected]>
# SPDX-FileCopyrightText: 2024 Idiap Research Institute <[email protected]>
# SPDX-FileContributor: Amir Mohammadi <[email protected]>
#
# SPDX-License-Identifier: GPL-3.0-or-later

Expand Down

0 comments on commit ceab541

Please sign in to comment.