Sorin Sbarnea
c03c3986cd
Allow display of custom message when no-commit-to-branch fails
...
This change should make the failures of no-commit-to-branch easier
for people that might encounter it as maintainers can provide
information about allowed branch names. Current behavior just gives
an opaque error that is not very useful for people that do not have
a lot of knowledge about the project they are contributing to.
2024-11-04 09:42:48 +00:00
Anthony Sottile
cef0300fd0
v5.0.0
2024-10-05 14:42:33 -04:00
Eric L Frederich
865409743e
Add check for illegal Widnows names
...
Fixes #589
2024-04-14 11:47:45 -04:00
Anthony Sottile
2c9f875913
v4.6.0
2024-04-06 14:24:38 -04:00
Max R
cef973f323
Add deprecation messaging for fix-encoding-pragma
2024-04-06 14:09:51 -04:00
Anthony Sottile
c4a0b88311
v4.5.0
2023-10-07 14:04:19 -04:00
Mészáros Gergely
95e2fe33af
Document newline behavior of file-contents-sorter
2023-09-12 06:35:38 +00:00
Abel Soares Siqueira
249f515287
Fix missing file-contents-sorter options in the README
2023-07-07 12:45:16 +02:00
Lev Blit
03cb9e7007
add constraints file to requirements-txt-fixer files
2023-01-14 13:31:45 +02:00
Anthony Sottile
a13cf6492e
azure pipelines -> github actions
2022-12-29 18:11:25 -05:00
Anthony Sottile
f71fa2c1f9
v4.4.0
2022-11-23 14:36:02 -05:00
Nuz / Lovegood
14ac91fb70
Remove example.
2022-10-08 11:16:50 -07:00
Nuz / Lovegood
8fe064d0bd
Alphabetize & clarify file-contents-sorter in README
2022-10-08 10:58:42 -07:00
Anthony Sottile
a9b6a7e7fa
add forbid-submodules hook
2022-10-04 15:56:38 -04:00
Anthony Sottile
3298ddab3c
v4.3.0
2022-06-07 10:08:29 -07:00
Anthony Sottile
412564fa95
add --pytest-test-first convention
2022-06-07 09:10:42 -07:00
Bastien Gérard
aa56da8535
Document check-merge-conflict argument
...
Document --assume-in-merge in README
2022-04-25 12:20:30 +02:00
Anthony Sottile
db7346d375
v4.2.0
2022-04-06 17:12:57 -04:00
Anthony Sottile
202ec6b8f5
Update default branch to main
...
Committed via https://github.com/asottile/all-repos
2022-03-24 15:07:45 -04:00
Hugo van Kemenade
e7cf495dec
Document file-contents-sorter arguments
...
Re: 40cc31b02c/pre_commit_hooks/file_contents_sorter.py (L54-L65)
2022-02-21 18:44:06 +02:00
Anthony Sottile
8fe62d14e0
v4.1.0
2021-12-23 23:47:17 -05:00
Anthony Sottile
38b88246cc
v4.0.1
2021-05-16 08:29:57 -07:00
Anthony Sottile
9cc62e1a63
v4.0.0
2021-05-14 20:17:35 -07:00
Anthony Sottile
11a996eec6
Merge pull request #597 from pre-commit/remove-deprecated
...
remove deprecated autopep8-wrapper, flake8, pyflakes
2021-05-11 13:16:53 -07:00
Anthony Sottile
1995abf556
remove deprecated autopep8-wrapper, flake8, pyflakes
2021-05-11 13:09:44 -07:00
Ville Skyttä
391ae30a64
Add check for executability of scripts with shebangs
...
Closes https://github.com/pre-commit/pre-commit-hooks/issues/543
2021-05-04 18:45:43 -07:00
Nicholas Devenish
3abbd4785c
no-commit-to-branch: Default to both master and main
2021-03-04 15:59:25 +00:00
Anthony Sottile
6e2418c552
v3.4.0
2020-12-15 13:46:40 -08:00
Mikhail Khvoinitsky
1e87d59a2d
New hook 'destroyed-symlinks' to detect symlinks which are changed to regular files with a content of a path which that symlink was pointing to; move zsplit to util
2020-11-18 11:45:05 -08:00
Youngmin Koo
1f8151aeeb
Add --additional-github-domain to check-vcs-permalinks
2020-11-18 08:58:23 -08:00
Anthony Sottile
7d9c32e9a0
use pre-commit.ci
2020-10-29 11:38:19 -07:00
Anthony Sottile
9136088a24
v3.3.0
2020-10-20 10:17:01 -07:00
Jeremiah Gowdy
d18bd5b75f
Add new byte-order-marker checker/fixer
2020-10-11 11:31:05 -07:00
Marcus Shawcroft
012bb0691f
Fix #518 , provide --enforce-all option to check_added_large_files
...
The --enforce-all option when provided ensures that all files passed
on the command line are checked against the size limit. Default
behaviour remains unchanged.
2020-09-27 15:15:37 -07:00
Anthony Sottile
e1668fe86a
v3.2.0
2020-07-30 13:33:26 -07:00
Marc Jay
b4694348b0
Document the default always_run behaviour of no-commit-to-branch
...
Include instructions on how to use files/types/excludes/exclude_types
with the no-commit-to-branch hook, along with the caveat of it allowing
empty commits
2020-06-19 18:39:45 +01:00
Anthony Sottile
ebc15added
v3.1.0
2020-05-20 09:11:02 -07:00
Anthony Sottile
0e2c0f7502
v3.0.1
2020-05-16 18:08:51 -07:00
Anthony Sottile
66250ba9bf
v3.0.0
2020-05-14 16:24:40 -07:00
Daiki Katsuragawa
74024a9cfa
Fix yaml formatting in README.md
2020-03-23 10:25:58 -07:00
Douglas Thor
1091574d2d
Fix docs for pretty-format-json: default indent is **2** spaces.
2020-02-27 15:04:33 -08:00
Anthony Sottile
1057813c2f
v2.5.0
2020-02-04 16:10:28 -08:00
Anthony Sottile
810048551e
officially deprecate the flake8 hook
2020-02-04 15:59:37 -08:00
Jacob Bundgaard
96efcc6f85
Remove linebreak
2020-02-04 23:24:19 +01:00
Jacob Bundgaard
3c614e7e0b
Convert named anchors to heading 4's
2020-02-04 23:23:23 +01:00
Jacob Bundgaard
e4dcfc650b
Allow linking directly to each hook
2020-02-03 14:10:31 +01:00
Marek Běl
d25d0ed8ac
Document mixed-line-ending limitation for fix={crlf,lf} with git.
2020-01-14 22:44:59 +01:00
Anthony Sottile
29f86dba1b
document --no-ensure-ascii
2019-10-28 19:14:32 -07:00
Anthony Sottile
0161422b4e
v2.4.0
2019-10-28 15:19:58 -07:00
iconmaster5326
08663c91f2
Update README.md
2019-10-25 11:15:48 -04:00