[Bug] Fix pre-commit hook (#1592)

This commit is contained in:
Songyang Zhang 2024-10-09 17:09:48 +08:00 committed by GitHub
parent 4d6349dfe1
commit d2ab51abbd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,7 +17,7 @@ jobs:
python-version: '3.10'
- name: Install pre-commit hook
run: |
pip install pre-commit mmengine
pip install pre-commit==3.8.0 mmengine
pre-commit install
- name: Linting
run: pre-commit run --all-files