Commit Graph

1658 Commits

Author SHA1 Message Date
Anthony Sottile
755b8000f6 move Hook data type to a separate file 2020-01-15 14:20:51 -08:00
Anthony Sottile
5a62501307 Merge pull request #1282 from pre-commit/cleanup
More miscellaneous cleanup
2020-01-13 12:47:28 -08:00
Anthony Sottile
df40e862f4 More miscellaneous cleanup 2020-01-13 11:47:34 -08:00
Anthony Sottile
489d9f9926 Merge pull request #1281 from pre-commit/py2_cleanup_more
Some manual python 2 cleanup
2020-01-12 15:46:34 -08:00
Anthony Sottile
251721b890 os.symlink is always an attribute in py3 2020-01-12 13:39:53 -08:00
Anthony Sottile
5706b9149c deep listdir works in python3 on windows 2020-01-12 13:39:53 -08:00
Anthony Sottile
5779f93ec6 keyword only arguments in some places 2020-01-12 13:39:53 -08:00
Anthony Sottile
34c3a1580a unrelated cleanup 2020-01-12 13:39:53 -08:00
Anthony Sottile
49cf490697 Remove noop_context 2020-01-12 13:39:53 -08:00
Anthony Sottile
2a9893d0f0 mkdirp -> os.makedirs(..., exist_ok=True) 2020-01-12 13:39:53 -08:00
Anthony Sottile
67c2dcd90d Remove pre_commit.five 2020-01-12 13:39:53 -08:00
Anthony Sottile
f33716cc17 Remove usage of OrderedDict 2020-01-12 13:39:53 -08:00
Anthony Sottile
5e52a657df Remove unused ruby activate script 2020-01-12 13:39:53 -08:00
Anthony Sottile
5d767bbc49 Replace match.group(n) with match[n] 2020-01-12 13:39:53 -08:00
Anthony Sottile
9000e9dd41 Some manual .format() -> f-strings 2020-01-12 13:39:53 -08:00
Anthony Sottile
aefbe71765 Clean up calls to .encode() / .decode() 2020-01-12 10:46:33 -08:00
Anthony Sottile
b2faf339ce Merge pull request #1277 from pre-commit/pyupgrade
Drop python 2 / python3.5 support in pre-commit
2020-01-12 10:41:30 -08:00
Anthony Sottile
76a184eb07 Update get-swift for bionic 2020-01-12 10:15:02 -08:00
Anthony Sottile
4eea90c26c leverage mypy to check language implementations 2020-01-12 10:15:02 -08:00
Anthony Sottile
327ed924a3 Add types to pre-commit 2020-01-12 10:15:01 -08:00
Anthony Sottile
fa536a8693 mypy passes with check_untyped_defs 2020-01-12 09:27:04 -08:00
Anthony Sottile
ab19b94811 some manual py2 cleanups 2020-01-12 09:27:04 -08:00
Anthony Sottile
30c1e8289f upgrade hooks, pyupgrade pre-commit 2020-01-12 09:27:04 -08:00
Anthony Sottile
764c765d29 Merge pull request #1276 from orcutt989/issue-#1273
fix prog arg to return correct version
2020-01-10 16:07:59 -08:00
orcutt989
c7d938c2c4 corrected styling 2020-01-10 18:49:21 -05:00
orcutt989
2cf127f2d3 fix prog arg to return correct version 2020-01-10 18:43:13 -05:00
Anthony Sottile
75043079d0 Merge pull request #1275 from flaudisio/fix-release-date-in-changelog
Fix the v1.21.0 release date in Changelog
2020-01-09 12:36:20 -08:00
Flaudísio Tolentino
8f109890c2 Fix the v1.21.0 release date in Changelog
Signed-off-by: Flaudísio Tolentino <flaudisio@gmail.com>
2020-01-09 17:21:18 -03:00
Anthony Sottile
ef583d2fde Merge pull request #1269 from pre-commit/remove_tags_only
Remove autoupdate --tags-only option
2020-01-08 20:04:01 -08:00
Anthony Sottile
300eb6b902 Merge pull request #1268 from pre-commit/remove_prce
Remove deprecated `pcre` language
2020-01-08 20:03:52 -08:00
Anthony Sottile
ae97bb5068 Remove autoupdate --tags-only option 2020-01-05 14:04:41 -08:00
Anthony Sottile
97e3371046 Remove deprecated pcre language 2020-01-05 13:58:44 -08:00
Anthony Sottile
3fadbefab9 Fix git version number in changelog 2020-01-02 13:05:57 -08:00
Anthony Sottile
db46dc79bb Fix one of the issue links 2020-01-02 10:28:45 -08:00
Anthony Sottile
23762d39ba v1.21.0 v1.21.0 2020-01-02 09:46:01 -08:00
Anthony Sottile
f5e7337db6 Merge pull request #1263 from pre-commit/clear_frozen
clear 'frozen: ...' comment if autoupdate unfreezes
2020-01-01 23:58:10 -05:00
Anthony Sottile
35caf115f8 clear 'frozen: ...' comment if autoupdate unfreezes 2020-01-01 20:21:42 -08:00
Anthony Sottile
cd57ba90f5 Merge pull request #1262 from yhoiseth/patch-1
Make URL clickable
2020-01-01 11:09:46 -05:00
Yngve Høiseth
d8b54ddf4a Make URL clickable
I added a space after as well in order to make it look more balanced.
2020-01-01 15:27:27 +01:00
Anthony Sottile
2500767f1b Merge pull request #1259 from pre-commit/try_repo_bare
Allow try-repo to work on bare repositories
2019-12-30 14:30:05 -05:00
Anthony Sottile
968b2fdaf1 Allow try-repo to work on bare repositories 2019-12-30 11:00:45 -08:00
Anthony Sottile
3a72fb39cb Merge pull request #1257 from pre-commit/duration
Add duration to verbose run
2019-12-28 21:48:54 -05:00
Anthony Sottile
0c0427bfbd Add duration to verbose run 2019-12-28 18:20:10 -08:00
Anthony Sottile
1074b39988 Merge pull request #1256 from pre-commit/freeze
Implement `pre-commit autoupdate --freeze`
2019-12-28 16:26:58 -05:00
Anthony Sottile
8a3c740f9e Implement pre-commit autoupdate --freeze 2019-12-28 13:07:39 -08:00
Anthony Sottile
32ce682238 Merge pull request #1210 from pre-commit/pre_merge_commit
support pre-merge-commit
2019-12-27 00:46:38 -05:00
Anthony Sottile
c699e255a1 support pre-merge-commit 2019-12-26 21:21:00 -08:00
Anthony Sottile
bf68512e7d Merge pull request #1254 from igankevich/master
Add GIT_SSL_CAINFO environment variable to whitelist.
2019-12-26 13:22:19 -05:00
Ivan Gankevich
8c93896c48 Add GIT_SSL_CAINFO environment variable to whitelist.
This commit fixes #1253.
2019-12-26 12:43:55 +03:00
Anthony Sottile
40e0b2c57f Merge pull request #1252 from pre-commit/normalize_crlf
Normalize crlf in tests
2019-12-23 22:33:35 -05:00