Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.

Commit e3b325c

Browse files
ci: pre-commit autoupdate (#20)
* ci: pre-commit autoupdate * chore: Fix lint errors --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent a41182c commit e3b325c

3 files changed

Lines changed: 24 additions & 2 deletions

File tree

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ jobs:
4646
tag: ${{ github.ref }}
4747
overwrite: true
4848
file_glob: true
49-
49+
5050
- name: Publish
5151
uses: pypa/[email protected]

.github/workflows/test.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,20 @@ name: Test
33
on:
44
push:
55
branches: [ main ]
6+
paths:
7+
- src/**
8+
- tests/**
9+
- pyproject.toml
10+
- .github/workflows/test.yml
11+
- .github/workflows/constraints.txt
612
pull_request:
713
branches: [ main ]
14+
paths:
15+
- src/**
16+
- tests/**
17+
- pyproject.toml
18+
- .github/workflows/test.yml
19+
- .github/workflows/constraints.txt
820
workflow_dispatch: {}
921

1022
concurrency:

.pre-commit-config.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,18 @@ ci:
77
submodules: false
88

99
repos:
10+
- repo: https://github.com/pre-commit/pre-commit-hooks
11+
rev: v4.4.0
12+
hooks:
13+
- id: check-merge-conflict
14+
- id: check-toml
15+
- id: end-of-file-fixer
16+
- id: no-commit-to-branch
17+
args: [--branch, main]
18+
- id: trailing-whitespace
19+
1020
- repo: https://github.com/astral-sh/ruff-pre-commit
11-
rev: v0.0.275
21+
rev: v0.0.284
1222
hooks:
1323
- id: ruff
1424
args: [--fix, --exit-non-zero-on-fix, --show-fixes]

0 commit comments

Comments
 (0)