Add no commit to main rule (#1393)

This commit is contained in:
Liangsheng Yin
2024-09-11 14:40:45 -07:00
committed by GitHub
parent fec185ce0c
commit 4462137777

View File

@@ -1,3 +1,6 @@
default_language_version:
python: python3.9
repos:
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
@@ -7,3 +10,8 @@ repos:
rev: 24.4.2
hooks:
- id: black
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: no-commit-to-branch