Skip to content

Commit b38faba

Browse files
committed
make regenerate-files runnable in CI, with the downside of not freezing deps
1 parent 7557558 commit b38faba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@ repos:
4040
hooks:
4141
- id: regenerate-files
4242
name: regenerate generated files
43-
language: system
43+
language: python
4444
entry: python src/trio/_tools/gen_exports.py
4545
pass_filenames: false
46+
additional_dependencies: ["astor", "attrs", "black", "ruff"]
4647
files: ^src\/trio\/_core\/(_run|(_i(o_(common|epoll|kqueue|windows)|nstrumentation)))\.py$
4748
- repo: https://github.com/astral-sh/uv-pre-commit
4849
rev: 0.5.9

0 commit comments

Comments
 (0)