Sign in
cobalt
/
pre-commit-hooks
/
34b4ce86854df4ee038667a36a5cc0b5a1b9ef59
/
pre_commit_hooks
/
no_commit_to_branch.py
8f61529
drop python3.6 support
by Anthony Sottile
· 3 years, 3 months ago
39ab2ed
replace exit(main()) with raise SystemExit(main())
by Anthony Sottile
· 3 years, 6 months ago
3abbd47
no-commit-to-branch: Default to both master and main
by Nicholas Devenish
· 4 years, 1 month ago
f5c42a0
pre-commit-hooks: python3.6+
by Anthony Sottile
· 5 years ago
053feb1
Use AbstractSet to appease mypy
by Anthony Sottile
· 6 years ago
a7af812
Make optional argument use an immutable set for the default value
by Marc Jay
· 6 years ago
8d2785b
Amend approach for no-commit-to-branch to use regex matching based on
by Marc Jay
· 6 years ago
d6847c4
Add wildcard matching to no-commit-to-branch hook so that commits can
by Marc Jay
· 6 years ago
030bfac
Apply typing to all of pre-commit-hooks
by Anthony Sottile
· 6 years ago
baec308
Allow multiple branches to be protected
by Anthony Sottile
· 7 years ago
93f319c
Fix no-commit-to-branch when not on a branch
by Anthony Sottile
· 7 years ago
e9aea74
Upgrade add-trailing-comma to 0.4.1
by Anthony Sottile
· 8 years ago
a859266
Add a no commit to specific branch hook. (#185)
by Evan Felix
· 8 years ago