Skip to content

Commit c84e083

Browse files
Update makefile and linting in CI
- Use pre-commit setup
1 parent 99bd3f1 commit c84e083

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
SECRET_KEY: "${{ secrets.SECRET_KEY_FOR_TESTS }}"
2626
run: make test
2727

28-
ruff:
28+
lint:
2929
runs-on: ubuntu-latest
3030
steps:
3131
- uses: actions/checkout@v5

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ install: sentinel
3030

3131
.PHONY: lint
3232
lint: install
33-
uv run ruff check .
33+
uv run pre-commit run --all-files --hook-stage manual
3434

3535
.PHONY: lint-fix
3636
lint-fix: install
37-
uv run ruff check --fix .
37+
uv run pre-commit run --all-files
3838

3939
.PHONY: dev
4040
dev: install

0 commit comments

Comments
 (0)