Commit Graph

145 Commits

Author SHA1 Message Date
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
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
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
97e3371046 Remove deprecated pcre language 2020-01-05 13:58:44 -08:00
Anthony Sottile
0c0427bfbd Add duration to verbose run 2019-12-28 18:20:10 -08:00
Anthony Sottile
c699e255a1 support pre-merge-commit 2019-12-26 21:21:00 -08:00
Anthony Sottile
4941ed58d5 Normalize crlf in tests 2019-12-23 18:27:30 -08:00
Uwe L. Korn
4ff23b4eab Support for conda as a language 2019-12-20 18:43:59 -08:00
Anthony Sottile
7c3404ef1f show color in hook outputs when attached to a tty 2019-10-12 23:17:36 -07:00
Anthony Sottile
2633d38a63 Fix ordering of mixed stdout / stderr printing 2019-10-12 13:35:04 -07:00
Bjørnar Myrheim
00e048995c Yet another try to fix #1013
One again changed the string and file referenced to handle single quotes properly inside pcre greps.
2019-04-29 21:45:56 +02:00
Bjørnar Myrheim
5977b1125b Another try to fix #1013
Properly changed the string and file referenced to handle single quotes properly inside pcre greps.
2019-04-29 21:33:58 +02:00
Bjørnar Myrheim
5590fc7a53 New try to fix #1013
Changed the string and file referenced to handle single quotes properly inside pcre greps.
2019-04-29 21:20:22 +02:00
Bjørnar Myrheim
e9e665d042 Could this fix #1013?
I'm still a beginner, but a single single quote looked a bit off to me.
Could adding another single quote after pre fix this issue?
2019-04-29 20:22:18 +02:00
Max R
64a65351b9 Whitespace nit 2019-04-29 01:40:12 -04:00
Anthony Sottile
9c6edab726 azure pipelines [skip travis] [skip appveyor] 2019-04-28 21:39:06 -07:00
Anthony Sottile
ea58596a56 Revert "Merge pull request #888 from pre-commit/887_xfail_windows_node_again"
This reverts commit 45a34d6b75, reversing
changes made to d0c62aae7a.
2019-01-20 22:22:39 -08:00
Anthony Sottile
bea33af310 small cleanups in tests 2019-01-06 12:08:52 -08:00
Anthony Sottile
9e34e6e316 pre-commit gc 2019-01-02 19:07:23 -08:00
Anthony Sottile
bdc58cc33f Teach pre-commit try-repo to clone uncommitted changes 2019-01-01 15:01:36 -08:00
Anthony Sottile
e4cf5f321b just use normal dicts in tests 2018-12-31 11:15:22 -08:00
Anthony Sottile
c577ed92e7 Refactor pre_commit.repository and factor out cached-property 2018-12-30 20:56:49 -08:00
Anthony Sottile
160a11a0a7 Improve git_commit helper 2018-12-28 15:32:25 -08:00
Pedro Algarvio
28c97a95cd Don't fail if GPG signing is configured by default. All references. 2018-12-28 20:11:37 +00:00
Anthony Sottile
91782bb6c8 xfail windows node until #887 is resolved 2018-12-19 17:03:52 -08:00
Anthony Sottile
15b1f118b5 Update fixtures.py 2018-12-14 13:14:13 -08:00
Pedro Algarvio
afeac2f099 Don't fail if GPG signing is configured by default 2018-12-14 11:45:01 +00:00
Anthony Sottile
9f60561d6f Replace resources with importlib_resources 2018-10-14 14:37:35 -07:00
Mickaël Schoentgen
67d6fcb0f6 Fix several ResourceWarning: unclosed file 2018-08-10 18:30:22 +02:00
Anthony Sottile
4f419fdaab Revert "Merge pull request #799 from pre-commit/temporarily_skip_npm_windows"
This reverts commit 063014ffd8, reversing
changes made to 259ef9e530.
2018-07-18 15:25:48 -07:00
Anthony Sottile
5b559dbe91 Temporarily xfail node on windows 2018-07-17 18:07:14 -07:00
Anthony Sottile
c79bc2eb8e Oops, this wrote a hash.txt file to the working dir 2018-07-04 15:31:10 -07:00
Daniele Esposti
b7ba4a1708 Added hash of Swift tarballs 2018-07-04 22:58:00 +01:00
Daniele Esposti
0f600ea0f0 Wget timestamping incompatible with -O 2018-07-04 08:36:32 +01:00
Daniele Esposti
e6b6abeb9f Added Swift cache 2018-07-04 01:59:42 +01:00
Anthony Sottile
37c94bbe71 Fix invalid escape sequences 2018-06-17 23:51:03 -07:00
Anthony Sottile
f0842429b9 Move testing scripts into testing 2018-06-05 18:26:02 -07:00
Anthony Sottile
51cf46e660 Simplify setup.py in arbitrary_bytes_repo 2018-06-03 20:56:07 -07:00
Chris Kuehl
b4edf2ce50 Add tests for Rust 2018-05-22 21:52:34 -07:00
Anthony Sottile
7f29fd5591 Adjust feature detection for 2.7.15 2018-05-21 22:20:37 -07:00
Anthony Sottile
f88e007f52 Fix test since pip 10 changed output 2018-05-21 21:38:36 -07:00
Anthony Sottile
b5af5a5b27 Add test for python_venv language 2018-05-12 11:37:13 -07:00
Anthony Sottile
96e9d1b758 Restore git 1.8 support 2018-03-12 14:36:07 -07:00
Anthony Sottile
5651c66995 Migrate sha -> rev 2018-02-24 20:19:39 -08:00
Anthony Sottile
29033f10ca Move cwd() to tests-only 2018-02-24 16:44:59 -08:00
Anthony Sottile
bdad930d71 Move pre_commit.schema to cfgv library 2018-02-18 15:25:53 -08:00
Anthony Sottile
6e46d6ae75 Support node on windows with long path hack 2018-01-12 22:31:43 -08:00