Skip to content

Commit

Permalink
Add no commit to main rule (sgl-project#1393)
Browse files Browse the repository at this point in the history
  • Loading branch information
hnyls2002 authored Sep 11, 2024
1 parent fec185c commit 4462137
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
default_language_version:
python: python3.9

repos:
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
Expand All @@ -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

0 comments on commit 4462137

Please sign in to comment.