Commit Graph

1311 Commits

Author SHA1 Message Date
Matt Layman 4640dc7b4a Run only the specified hook even when stages exist in config.
This branches fixes the run logic so that when
`pre-commit run some_hook -a` runs when the config contains
`stages: ['commit']` for some other hook, only the hook specified as an
argument will run.

Fixes #772
2018-07-19 21:45:43 -04:00
Anthony Sottile f2da2c435c Merge pull request #801 from pre-commit/node_lives_again
Revert "Merge pull request #799 from pre-commit/temporarily_skip_npm_windows"
2018-07-18 19:07:02 -07: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 99972df1da Merge pull request #797 from pre-commit/default_python_3_venv
Default to python3 when using python_venv under python 2
2018-07-17 20:20:54 -07:00
Anthony Sottile 550ce26e75 Merge pull request #796 from pre-commit/buffering
Fix buffering in --show-diff-on-failure
2018-07-17 19:37:49 -07:00
Anthony Sottile 0eaacd7c8e Default to python3 when using python_venv under python 2 2018-07-17 18:24:29 -07:00
Anthony Sottile c947a0935d Fix buffering in --show-diff-on-failure 2018-07-17 18:24:16 -07:00
Anthony Sottile df1b720054 Merge pull request #800 from pre-commit/revert_cargo_cache_appveyor
Revert "Merge pull request #788 from pre-commit/cache_cargo_windows"
2018-07-17 18:23:52 -07:00
Anthony Sottile 7d4db5c523 Revert "Merge pull request #788 from pre-commit/cache_cargo_windows"
This reverts commit e731aa835c, reversing
changes made to a4b5a9f7fb.
2018-07-17 18:23:08 -07:00
Anthony Sottile 063014ffd8 Merge pull request #799 from pre-commit/temporarily_skip_npm_windows
Temporarily xfail node on windows
2018-07-17 18:22:37 -07:00
Anthony Sottile 5b559dbe91 Temporarily xfail node on windows 2018-07-17 18:07:14 -07:00
Anthony Sottile 259ef9e530 Merge pull request #792 from pre-commit/py37_appveyor
Use python3.7 in appveyor
2018-07-10 12:31:36 -07:00
Anthony Sottile d2734b2f1b Use python3.7 in appveyor 2018-07-10 10:31:42 -07:00
Anthony Sottile 787dea9fbe Merge pull request #791 from pre-commit/tox_3_1
tox 3.1 passes PROCESSOR_ARCHITECTURE by default
2018-07-08 16:52:33 -07:00
Anthony Sottile 49035ba445 tox 3.1 passes PROCESSOR_ARCHITECTURE by default 2018-07-08 14:53:55 -07:00
Anthony Sottile b93ef6ffc3 Merge pull request #790 from pre-commit/no_py35
Don't test python3.5 now that we test python3.7
2018-07-08 10:18:38 -07:00
Anthony Sottile 707e458984 Don't test python3.5 now that we test python3.7 2018-07-08 08:19:22 -07:00
Anthony Sottile ed1901423d Merge pull request #789 from expobrain/python_37
Added Python 3.7 to Travis CI
2018-07-08 08:16:57 -07:00
Daniele Esposti e4502b73d3 Removed PyYAML version 2018-07-06 19:38:42 +01:00
Daniele Esposti 2a46658adc Fixed Travis setup for python 3.7 2018-07-06 08:50:52 +01:00
Daniele Esposti cec67bb9ad Fixed PyYAML version 2018-07-06 08:50:30 +01:00
Daniele Esposti 04933cdc46 Added Python 3.7 to Travis CI 2018-07-05 23:32:40 +01:00
Anthony Sottile e731aa835c Merge pull request #788 from pre-commit/cache_cargo_windows
Cache rust installation on windows too
2018-07-05 14:44:04 -07:00
Anthony Sottile a4b5a9f7fb Merge pull request #787 from pre-commit/hook_paths
hook paths are only computed in install_uninstall
2018-07-05 13:37:17 -07:00
Anthony Sottile ac4aa63ff2 Cache rust installation on windows too 2018-07-05 13:14:42 -07:00
Anthony Sottile bffa58753d hook paths are only computed in install_uninstall 2018-07-05 12:49:01 -07:00
Anthony Sottile d04823e8e3 Merge pull request #786 from pre-commit/no_need_for_file
Oops, this wrote a hash.txt file to the working dir
2018-07-04 16:10:05 -07:00
Anthony Sottile 45d299d1db Merge pull request #785 from pre-commit/better_trace
Improve not found error with script paths (`./exe`)
2018-07-04 15:51:48 -07:00
Anthony Sottile c79bc2eb8e Oops, this wrote a hash.txt file to the working dir 2018-07-04 15:31:10 -07:00
Anthony Sottile 50fe51fc4f Merge pull request #781 from expobrain/rust_cache
Travis cache
2018-07-04 15:29:52 -07:00
Daniele Esposti b7ba4a1708 Added hash of Swift tarballs 2018-07-04 22:58:00 +01:00
Anthony Sottile c2e4040756 Improve not found error with script paths (./exe) 2018-07-04 14:55:00 -07: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 6853f4aa4c Merge pull request #779 from pre-commit/yaml_load
Appease yaml.load linters
2018-07-03 05:51:21 -07:00
Anthony Sottile c3e438379a Appease yaml.load linters
_technically_ yaml.load is unsafe, however the contents being loaded here are
previously loaded just above using a safe loader so this is not an abitrary
code vector.  Fixing it nonetheless :)
2018-07-03 05:12:36 -07:00
Daniele Esposti eda684661b Added Rustup cache 2018-07-03 00:26:25 +01:00
Anthony Sottile ebb178a749 v1.10.3 v1.10.3 2018-07-02 11:00:35 -07:00
Anthony Sottile 09114f1c16 Merge pull request #778 from pre-commit/pre_push_force_push
Fix force-push without fetch
2018-07-02 10:50:14 -07:00
Anthony Sottile c294be513d Fix force-push without fetch 2018-07-02 09:59:23 -07:00
Anthony Sottile 13c85f374b Merge pull request #774 from pre-commit/fewer_props
Remove more properties from Runner
2018-07-01 21:47:39 -07:00
Anthony Sottile b87c4fd8cc Remove more properties from Runner 2018-07-01 19:49:15 -07:00
Anthony Sottile 8f6fe8c9e6 Merge pull request #773 from pre-commit/separate_store
Separate store from runner
2018-06-29 23:39:12 -07:00
Anthony Sottile c01ffc83f8 Separate store from runner 2018-06-29 22:35:53 -07:00
Anthony Sottile 6d683a5fac clean: separate store from runner 2018-06-29 20:08:23 -07:00
Anthony Sottile 0e430be0ce autoupdate: separate store from runner 2018-06-29 20:04:16 -07:00
Anthony Sottile 8f2c3cfea7 Merge pull request #769 from pre-commit/fix_escape_sequences
Fix invalid escape sequences
2018-06-18 07:34:51 -07:00
Anthony Sottile 37c94bbe71 Fix invalid escape sequences 2018-06-17 23:51:03 -07:00
Anthony Sottile a12feebf4b v1.10.2 v1.10.2 2018-06-11 13:30:11 -07:00
Anthony Sottile 31e751f4d3 Merge pull request #767 from pre-commit/consistent_ordering
Consistent ordering of filenames
2018-06-11 13:27:04 -07:00