Skip to content

Commit

Permalink
make regenerate-files runnable in CI, with the downside of not freezi…
Browse files Browse the repository at this point in the history
…ng deps
  • Loading branch information
jakkdl committed Dec 17, 2024
1 parent 7557558 commit b38faba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ repos:
hooks:
- id: regenerate-files
name: regenerate generated files
language: system
language: python
entry: python src/trio/_tools/gen_exports.py
pass_filenames: false
additional_dependencies: ["astor", "attrs", "black", "ruff"]
files: ^src\/trio\/_core\/(_run|(_i(o_(common|epoll|kqueue|windows)|nstrumentation)))\.py$
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.5.9
Expand Down

0 comments on commit b38faba

Please sign in to comment.