I ran pre-commit in a fresh virtual environment, and ran into pre-commit-setup
missing package pyyaml.
Fix this by:
- changing the language to python, and
- adding pyyaml in the additional_dependencies.
Approved-By: Tom Tromey <tom@tromey.com>
stages: [pre-commit]
- id: pre-commit-setup
name: pre-commit-setup
- language: script
+ language: python
entry: gdb/contrib/pre-commit-setup.py
+ additional_dependencies: ["pyyaml"]
always_run: true
require_serial: true
- repo: https://github.com/nmoroze/tclint