Anthony Sottile
|
d31722386e
|
add warning for deprecates stages for remote repos on init
|
2024-09-30 20:41:50 -04:00 |
|
Anthony Sottile
|
1d2f1c0cce
|
replace log_info_mock with pytest's caplog
|
2024-09-30 19:58:16 -04:00 |
|
Anthony Sottile
|
08478ec176
|
python 3.9+: use removeprefix
|
2023-12-09 16:04:25 -05:00 |
|
Anthony Sottile
|
a631abdabf
|
remove sorting for repo key for additional_deps
in other languages this order can matter (such as ruby)
|
2023-02-22 20:31:14 -05:00 |
|
marsha
|
6804100701
|
test golang directly
|
2023-02-06 17:02:20 -06:00 |
|
Anthony Sottile
|
f1b5f66374
|
test conda language directly
|
2023-01-17 13:05:49 -05:00 |
|
marsha
|
42102a1bfd
|
Remove expected_returncode from CalledProcessError
|
2022-10-30 15:31:45 -05: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 |
|
Lorenz
|
b8fff8c508
|
Avoid warnings with R hooks when renv version don't match
|
2021-05-04 18:56:43 -07:00 |
|
Anthony Sottile
|
bf33f4c91c
|
allow pre-commit to succeed on a readonly store directory
|
2020-08-22 10:51:57 -07:00 |
|
Anthony Sottile
|
4c154c3019
|
Use the real path of the cache root
|
2020-05-08 14:22:57 -07:00 |
|
Anthony Sottile
|
327ed924a3
|
Add types to pre-commit
|
2020-01-12 10:15:01 -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
|
b90412742e
|
A few cleanups for CalledProcessError to hopefully make it more readable
|
2019-12-23 17:46:48 -08:00 |
|
Anthony Sottile
|
eab24f3e48
|
Fix full clone + non-mainline tag
|
2019-04-16 10:30:05 -07:00 |
|
DanielChabrowski
|
e748da2abe
|
Remove clone depth check
|
2019-03-15 23:25:04 +01:00 |
|
DanielChabrowski
|
e74253d2de
|
Allow shallow cloning
|
2019-03-03 01:35:53 +01:00 |
|
Anthony Sottile
|
9e34e6e316
|
pre-commit gc
|
2019-01-02 19:07:23 -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
|
9f60561d6f
|
Replace resources with importlib_resources
|
2018-10-14 14:37:35 -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
|
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
|
0120af56a7
|
Adhere to XDG specification for cache dir.
|
2017-09-06 10:00:35 -07:00 |
|
Anthony Sottile
|
6141c419ee
|
Remove Runner.cmd_runner and Store.cmd_runner
|
2017-09-05 14:49:31 -07:00 |
|
Anthony Sottile
|
7cb3e00731
|
Only print that the lock is being acquired when waiting
|
2017-09-04 11:53:17 -07:00 |
|
Anthony Sottile
|
625aaf54aa
|
Limit repository creation to one process
|
2017-08-23 20:59:03 -07:00 |
|
Anthony Sottile
|
0c70fa4229
|
Use asottile/add-trailing-comma
|
2017-07-12 18:30:51 -07:00 |
|
Anthony Sottile
|
a4da7b8c8c
|
Replace calls to touch with open(..., 'a').close()
|
2017-07-08 15:43:36 -07:00 |
|
Anthony Sottile
|
c65a11ce3d
|
Replace five with six
|
2017-03-08 14:25:54 -08:00 |
|
Anthony Sottile
|
a7169905dc
|
Centralize logging initialization
|
2016-11-26 14:19:37 -08:00 |
|
Anthony Sottile
|
1dfcf10036
|
git grep -l tmpdir_factory | xargs sed -i 's/tmpdir_factory/tempdir_factory/g'
|
2015-10-01 10:24:54 -07:00 |
|
Anthony Sottile
|
143ed94500
|
Tests pass on windows
|
2015-02-27 00:48:01 -08:00 |
|
Anthony Sottile
|
56e5c4eb2d
|
Use sqlite3 instead of symlinks for managing repositories
|
2015-02-22 17:42:40 -08:00 |
|
Anthony Sottile
|
02f0a1c434
|
Actually print while installing
|
2015-02-22 16:18:46 -08:00 |
|
Anthony Sottile
|
fd109b7745
|
reorder-python-imports
|
2015-01-04 15:49:19 -08:00 |
|
Anthony Sottile
|
bbd2572b11
|
Remove plumbum
|
2014-10-02 06:59:37 -07:00 |
|
Anthony Sottile
|
5d1ffcba75
|
Hashlib doesn't take unicode.
|
2014-06-18 07:37:17 -07:00 |
|
Anthony Sottile
|
4ec877628d
|
Use hash of repository name to allow tags.
|
2014-06-18 07:37:16 -07:00 |
|
Anthony Sottile
|
4b43fd8cdc
|
Add integration test for existing install behaviour
|
2014-06-16 12:53:26 -07:00 |
|
Anthony Sottile
|
047a933554
|
Move empty_git_dir out of pytest fixtures.
|
2014-06-15 15:47:11 -07:00 |
|
Anthony Sottile
|
09b5152f7d
|
Remove unused duplicated fixture
|
2014-05-02 16:53:52 -07:00 |
|
Anthony Sottile
|
479eb51873
|
Implement Store. pre-commit now installs files to ~/.pre-commit
|
2014-05-02 14:56:47 -07:00 |
|