Skip to content

Commit ce37a74

Browse files
committed
Check via pre-commit
1 parent df5f2a5 commit ce37a74

3 files changed

Lines changed: 7 additions & 141 deletions

File tree

.github/workflows/hygiene.yaml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
jobs:
1212
hygiene:
1313
runs-on: ubuntu-latest
14-
name: Ruff
14+
name: Hygiene check
1515
steps:
1616
- uses: actions/checkout@v3
1717
- name: setup-python
@@ -21,10 +21,9 @@ jobs:
2121
architecture: "x64"
2222
- name: Install uv
2323
uses: astral-sh/setup-uv@v6
24-
- name: Ruff format
25-
run: uv run ruff format --check
26-
- name: Ruff check
27-
run: uv run ruff check
28-
- name: Basedpyright check
29-
run: uv run basedpyright
30-
24+
- name: Install project
25+
run: uv sync
26+
- name: Install pre-commit
27+
run: pip install pre-commit
28+
- name: Pre-commit checks on all files
29+
run: pre-commit run --all-files

pyproject.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,6 @@ dependencies = [
4444
dev = [
4545
"pytest",
4646
"pytest-cov",
47-
"black",
48-
"ruff>=0.12.8",
49-
"basedpyright>=1.31.1",
5047
]
5148

5249
[project.urls]

0 commit comments

Comments
 (0)