Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit79a083e

Browse files
committed
precommit warns on main + instructions for fix
1 parent0b8bd96 commit79a083e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ repos:
2525
args:["--pytest-test-first"]
2626
-id:trailing-whitespace
2727
exclude_types:[svg]
28+
-id:no-commit-to-branch#default is master and main
29+
name:don't commit to main branch. If this pre-commit fails, rename `git branch -m <newname>` then rebase `git rebase -i upstream\main`
2830
-repo:https://github.com/pycqa/flake8
2931
rev:6.0.0
3032
hooks:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp