Commit Graph

1229 Commits

Author SHA1 Message Date
Anthony Sottile
72d10903d5 Update config 2018-08-15 17:55:06 -07:00
Anthony Sottile
cf691e85c8 that's what I get for not waiting for CI 2018-08-10 12:39:40 -07:00
Anthony Sottile
67bc05eb35 Merge pull request #811 from BoboTiG/fix-resources-warnings
Fix several ResourceWarning: unclosed file
2018-08-10 12:34:05 -07:00
Anthony Sottile
174d3bf057 Minor style adjustment 2018-08-10 12:33:21 -07:00
Anthony Sottile
a8640c759d Add # pragma: no cover for the py3-only branch 2018-08-10 11:11:50 -07:00
Mickaël Schoentgen
d68a778e3b Fix the use of deprecated inspect.getargspec() on Python 3 2018-08-10 18:30:22 +02:00
Mickaël Schoentgen
67d6fcb0f6 Fix several ResourceWarning: unclosed file 2018-08-10 18:30:22 +02:00
Mickaël Schoentgen
abee146199 Get rid of @pytest.mark.integration 2018-08-10 18:29:30 +02:00
Anthony Sottile
ff73f6f741 v1.10.5 v1.10.5 2018-08-06 14:03:01 -07:00
Anthony Sottile
2f0fefeb74 Merge pull request #809 from pre-commit/worktree
Support `pre-commit install` inside a worktree
2018-08-06 10:11:51 -07:00
Anthony Sottile
3f78487769 Support pre-commit install inside a worktree 2018-08-06 09:26:42 -07:00
Anthony Sottile
ab556f4dff Merge pull request #805 from pre-commit/workaround_brew
Work around sys.executable issue using brew python on macos
2018-07-24 18:28:34 -07:00
Anthony Sottile
7e69d117c6 Work around sys.executable issue using brew python on macos
https://github.com/Homebrew/homebrew-core/issues/30445
2018-07-24 16:05:26 -07:00
Anthony Sottile
a3847d830c A few changelog entries didn't get commited 2018-07-22 09:25:34 -07:00
Anthony Sottile
52f39fee12 v1.10.4 v1.10.4 2018-07-22 08:47:43 -07:00
Anthony Sottile
f2b74e3387 Merge pull request #803 from mblayman/args-hook-only
Run only the specified hook even when stages exist in config.
2018-07-19 21:13:24 -07:00
Matt Layman
fd1bc21d8e Use parens instead of different logic pattern. 2018-07-19 23:27:29 -04:00
Matt Layman
a8b298799c Check bytes for Python 3. 2018-07-19 22:11:15 -04:00
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