Commit Graph

68 Commits

Author SHA1 Message Date
Anthony Sottile
f042540311 test lua directly 2023-01-17 23:43:31 -05:00
Anthony Sottile
c36f03cd2e test swift language directly 2023-01-17 13:51:06 -05:00
Anthony Sottile
70bfd76ced coursier: additional_dependencies support 2023-01-17 09:59:04 -05:00
Matt Whitaker
702ebf402c Expose prepare-commit-msg arguments as environment vars 2022-06-11 14:25:55 -04:00
Anthony Sottile
04de6a2e57 drop python 3.6 support
python 3.6 reached end of life on 2021-12-23
2022-01-18 18:44:20 -05:00
Matt Layman
3f8be7400d Add naive and untested version of Lua language support. 2022-01-17 13:43:38 -05:00
Jordan Speicher
4cd8b364dd Add: post-rewrite hook support 2021-09-01 14:50:59 -05:00
Florent Clarret
584fd585ec Expose local branch ref as an environment variable 2021-06-19 18:18:14 +02:00
Paweł Sacawa
6b73138c73 Add: post-merge hook support 2021-02-23 19:00:02 -08:00
surafelabebe
cb5ed6276d Expose remote branch ref as an environment variable 2021-01-22 13:18:25 -08:00
Joseph Moniz
70ab1c3b6f add coursier (jvm) as a language 2020-10-27 09:21:54 -07:00
Ruairidh MacLeod
eb8b48aeb4 remove docker_is_running check from source
Moved to testing.util so it can be used for the skipif_cant_run_docker
test hooks.
2020-08-22 17:33:32 -07:00
Anthony Sottile
e1e6a32c51 skip rbenv if ruby and gem are installed with default language_version 2020-06-15 13:50:47 -07:00
Anthony Sottile
f455312944 Merge pull request #1431 from pre-commit/better_healthy
Improve python healthy() and eliminate python_venv
2020-05-04 10:52:59 -07:00
Anthony Sottile
3d50b3736a Improve python healthy() and eliminate python_venv
- the `healthy()` check now requires virtualenv 20.x's metadata
- `python_venv` is obsolete now that `virtualenv` generates the same structure
  and `virtualenv` is more portable
2020-05-03 21:55:48 -07:00
Dom
928938a6a1 fix hooks firing during staged_files_only 2020-05-02 14:00:21 -07:00
Anthony Sottile
d35b00352f Make more readable --from-ref / --to-ref aliases for --source / --origin 2020-02-23 11:07:57 -08:00
Andrew Hare
18fa004254 Add post-checkout 2020-02-23 10:22:18 -08:00
Anthony Sottile
0bb8a8fabe Move test to install_uninstall test so environment variables apply 2020-01-16 13:02:20 -08:00
David Martinez Barreiro
57cc814b8b Push remote env var details 2020-01-16 12:35:04 -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
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
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
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
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
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
37c94bbe71 Fix invalid escape sequences 2018-06-17 23:51:03 -07:00
Anthony Sottile
7f29fd5591 Adjust feature detection for 2.7.15 2018-05-21 22:20:37 -07:00
Anthony Sottile
b5af5a5b27 Add test for python_venv language 2018-05-12 11:37:13 -07:00
Anthony Sottile
29033f10ca Move cwd() to tests-only 2018-02-24 16:44:59 -08:00
Anthony Sottile
6e46d6ae75 Support node on windows with long path hack 2018-01-12 22:31:43 -08:00
Anthony Sottile
56fca92a42 Remove slowtests=false setting
It wasn't actually working because of tox, I also don't use this.
2017-11-02 15:48:43 -07:00
Anthony Sottile
2c88791a7f Add pre-commit try-repo
`try-repo` is useful for:
- Trying out a remote hook repository without needing to configure it.
- Testing a hook repository while developing it.
2017-10-07 18:03:52 -07:00
Anthony Sottile
0c70fa4229 Use asottile/add-trailing-comma 2017-07-12 18:30:51 -07:00
Anthony Sottile
cb8dd335f4 Replace jsonschema with better error messages 2017-03-08 14:07:00 -08:00
Anthony Sottile
f000241dcb Local repositories clone a blank repo 2017-02-15 15:36:53 -08:00
Thierry Deo
e02c489d76 PCRE tests work on osx 2017-02-15 08:11:50 -08:00