Skip to content

Commit 864cda2

Browse files
authored
🔥 remove pre-commit (#268)
1 parent 3d0b833 commit 864cda2

File tree

3 files changed

+7
-69
lines changed

3 files changed

+7
-69
lines changed

‎.github/workflows/ci.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,19 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@v4
2323

24-
- uses: pre-commit/[email protected]
25-
with:
26-
extra_args: --all-files
24+
- name: typos
25+
uses: crate-ci/typos@master
2726

2827
- uses: astral-sh/setup-uv@v5
2928
with:
3029
enable-cache: true
3130
python-version: 3.13t
3231

32+
- name: ruff
33+
run: |
34+
uv run --no-group=orjson ruff check --output-format=github
35+
uv run --no-group=orjson ruff format --check
36+
3337
- name: pytest
3438
run: uv run --no-group=orjson pytest
3539

‎.pre-commit-config.yaml

Lines changed: 0 additions & 60 deletions
This file was deleted.

‎pyproject.toml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ packages = [
7575
"/tool",
7676
".mypyignore",
7777
".mypyignore-todo",
78-
".pre-commit-config.yaml",
7978
"CONTRIBUTING.md",
8079
"uv.lock",
8180
]
@@ -255,11 +254,6 @@ env_list = ["lint", "test", "pyright", "3.13", "3.12", "3.11", "3.10"]
255254
["uv", "run", "-q", "-p={base_python}", "--active", "tool/stubtest.py", "--concise"],
256255
]
257256

258-
[tool.tox.env.pre-commit]
259-
description = "pre-commit"
260-
skip_install = true
261-
commands = [["uvx", "pre-commit", "run", "-a", "--show-diff-on-failure"]]
262-
263257
[tool.tox.env.lint]
264258
description = "lint"
265259
runner = "uv-venv-lock-runner"

0 commit comments

Comments
 (0)