Skip to content

Commit f516e85

Browse files
authored
1 parent 29ddaef commit f516e85

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

.github/workflows/checks.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
runs-on: ubuntu-latest
6969
strategy:
7070
matrix:
71-
hook:
71+
cmd:
7272
- "end-of-file-fixer"
7373
- "trailing-whitespace"
7474
- "mixed-line-ending"
@@ -82,7 +82,7 @@ jobs:
8282

8383
- uses: pre-commit/[email protected]
8484
with:
85-
extra_args: ${{ matrix.hook }} --all-files
85+
extra_args: ${{ matrix.cmd }} --all-files
8686
docs:
8787
runs-on: ubuntu-latest
8888
env:

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.6.0 # pre-commit-hooks version
3+
rev: v5.0.0 # pre-commit-hooks version
44
hooks:
55
- id: check-added-large-files
66
- id: detect-private-key
@@ -17,4 +17,4 @@ repos:
1717
- id: ruff-format
1818
- id: ruff
1919
args: [ --fix, --exit-non-zero-on-fix ]
20-
minimum_pre_commit_version: 3.7.1
20+
minimum_pre_commit_version: 4.0.1

pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,12 @@ dynamic = ["version"]
3737
pg = ["psycopg[binary]", "requests"]
3838
etl = ["owlready2==0.40", "rdflib", "wags-tails>=0.1.2", "fastobo", "tqdm"]
3939
tests = ["pytest>=6.0", "pytest-cov", "httpx"]
40-
dev = ["pre-commit>=3.7.1", "ruff==0.8.6", "lxml", "xmlformatter"]
40+
dev = [
41+
"pre-commit>=4.0.1",
42+
"ruff==0.8.6",
43+
"lxml",
44+
"xmlformatter",
45+
]
4146
docs = [
4247
"sphinx==6.1.3",
4348
"sphinx-autodoc-typehints==1.22.0",

0 commit comments

Comments
 (0)