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
Anthony Sottile
d2a2cde37a
Add note about sort-simple-yaml's opt-in behaviour
2019-10-07 08:33:23 -07:00
Anthony Sottile
d6d3bd9460
v2.3.0
2019-08-05 10:33:34 -07:00
Semyon Maryasin
8d7d40c7cc
Add README entry for check-toml hook
2019-08-03 19:16:51 +01:00
Anthony Sottile
0b70e285e3
v2.2.3
2019-05-16 09:58:18 -07:00
Anthony Sottile
e8e54f7f99
v2.2.2
2019-05-15 10:17:27 -07:00
Anthony Sottile
9ee4347a8f
v2.2.1
2019-04-21 13:17:05 -07:00
Anthony Sottile
7905d805af
v2.2.0
2019-04-21 13:15:43 -07:00
Marc Jay
6568414fc5
Clarify default behaviour in README for no-commit-to-branch
2019-04-20 14:06:59 +01:00
Marc Jay
7b959d140f
Tidy up indentation in README changes for no-commit-to-branch
2019-04-20 13:52:59 +01:00
Marc Jay
8d2785b9d6
Amend approach for no-commit-to-branch to use regex matching based on
...
feedback. Adds --pattern optional argument which can be used alongside
--branch to block commits to a branch which matches a supplied
regex expression
2019-04-20 13:46:49 +01:00
Marc Jay
d6847c4827
Add wildcard matching to no-commit-to-branch hook so that commits can
...
be blocked on, for example, all release branches with 'release/*'
2019-04-09 23:53:39 +01:00
Anthony Sottile
8bb94f0bd4
azure pipelines [skip travis] [skip appveyor]
2019-03-10 16:56:44 -07:00
Anthony Sottile
c8bad492e1
v2.1.0
2018-12-26 09:48:02 -08:00
Ryan Delaney
2d4833c73e
Rename metavar to clarify required usage syntax
2018-10-28 15:58:14 -07:00
Ryan Delaney
4b8eb6f96a
Add required argument to cli parameter
2018-10-28 12:07:03 -07:00
Ryan Delaney
efc5b9ecc1
Add missing parameter --allow-missing-credentials
2018-10-28 12:05:42 -07:00
Anthony Sottile
e01bc2c2a1
v2.0.0
2018-10-12 19:55:16 -07:00