Commit Graph

1856 Commits

Author SHA1 Message Date
Anthony Sottile
a3c9721d8f v2.8.0 v2.8.0 2020-10-28 21:59:03 -07:00
Anthony Sottile
763dbc0ac6 Merge pull request #1668 from pre-commit/avoid_shims
don't use system for ruby/node if it is a shim exe
2020-10-28 17:22:27 -07:00
Anthony Sottile
7f9f66e542 don't use system for ruby/node if it is a shim exe 2020-10-28 16:52:55 -07:00
Anthony Sottile
0c339e0647 Merge pull request #1667 from pre-commit/improve_node_install
improve node install by using npm pack
2020-10-28 16:03:52 -07:00
Anthony Sottile
29f3e67655 improve node install by using npm pack 2020-10-28 15:13:53 -07:00
Anthony Sottile
2779bde2a2 Merge pull request #1666 from pre-commit/mutable_mapping
Replace EnvironT with MutableMapping[str, str]
2020-10-28 14:03:14 -07:00
Anthony Sottile
24dfeed89c Replace EnvironT with MutableMapping[str, str] 2020-10-28 13:00:25 -07:00
Anthony Sottile
a0c0870b87 Merge pull request #1601 from int3l/distinct_exit_codes
Distinct exit codes for the various error cases
2020-10-28 11:59:22 -07:00
int3l
47e758d8f1 Distinct error handling exit codes
https://tldp.org/LDP/abs/html/exitcodes.html - exit codes convention
2020-10-28 11:13:04 -07:00
Anthony Sottile
9d0ab3b97b Merge pull request #1633 from JosephMoniz/add-jvm-coursier-support
add coursier (jvm) as a language
2020-10-27 10:13:03 -07:00
Joseph Moniz
70ab1c3b6f add coursier (jvm) as a language 2020-10-27 09:21:54 -07:00
Anthony Sottile
eee891c8cb Merge pull request #1662 from pre-commit/pci
Add pre-commit.ci
2020-10-26 16:38:49 -07:00
Anthony Sottile
653cdd286b Add pre-commit.ci 2020-10-26 16:11:27 -07:00
Anthony Sottile
9e4754fb4a Merge pull request #1616 from pre-commit/zipapp
add zipapp support
2020-10-17 11:15:03 -07:00
Anthony Sottile
01f1a0090e Merge pull request #1643 from MarcoGorelli/negate-pygrep
ENH add --negate flag to pygrep
2020-10-17 11:14:19 -07:00
Marco Gorelli
a0658c06bf add --negate flag to pygrep 2020-10-17 18:50:40 +01:00
Anthony Sottile
6ba50f3aa7 Merge pull request #1644 from MarcoGorelli/clean-pygrep-test
Remove unnecessary fixtures in signatures from pygrep tests
2020-10-16 14:27:56 -07:00
Marco Gorelli
2fc676709d Remove unnecessary fixtures in signatures from pygrep tests 2020-10-16 13:11:18 -07:00
Anthony Sottile
ee1fcfbeca Merge pull request #1634 from pre-commit/simplify
simplify docker run
2020-10-10 18:38:29 -07:00
Anthony Sottile
3584b99caa simplify docker run 2020-10-10 18:09:51 -07:00
Anthony Sottile
11568caf97 Merge pull request #1637 from pre-commit/conda_test
use implementation-agnostic conda package for test
2020-10-10 18:09:09 -07:00
Anthony Sottile
32a286d530 use implementation-agnostic conda package for test 2020-10-10 17:44:56 -07:00
Anthony Sottile
fbd529204b make an exe stub for windows 2020-09-28 18:37:10 -07:00
Anthony Sottile
bc198b89ca add zipapp support 2020-09-28 16:57:59 -07:00
Anthony Sottile
202f0bbbc9 Merge pull request #1598 from rkm/feature/dotnet
add initial dotnet support
2020-09-27 15:25:56 -07:00
Anthony Sottile
949ea163cd Merge pull request #1611 from mcsitter/patch-1
Update pre-commit version in sample config
2020-09-27 15:16:50 -07:00
Ruairidh MacLeod
003e4c21e0 add initial dotnet support 2020-09-27 15:04:35 -07:00
Maximilian Cosmo Sitter
3de3c6a5fc Update pre-commit version in sample config 2020-09-27 14:54:42 -07:00
Anthony Sottile
a85b9f798d Merge pull request #1617 from pre-commit/no_p_default_exe
don't pass through -p if using the default version
2020-09-23 18:24:43 -07:00
Anthony Sottile
58a190fd69 don't pass through -p if using the default version 2020-09-23 17:44:18 -07:00
Anthony Sottile
7162a3defe Merge pull request #1614 from pre-commit/update_rbenv
update rbenv / ruby-build
2020-09-23 11:22:17 -07:00
Thomas Romera
36653586a0 update rbenv / ruby-build 2020-09-22 23:03:01 -07:00
Anthony Sottile
1b3d14237a Merge pull request #1608 from pre-commit/spelling
fix a few spelling errors
2020-09-20 19:42:27 -07:00
Anthony Sottile
365f896c36 fix a few spelling errors
found via `pre-commit  try-repo https://github.com/codespell-project/codespell --all-files`
2020-09-20 19:21:24 -07:00
Anthony Sottile
f13dcac9ef Merge pull request #1606 from pre-commit/move_cygwin_mismatch
check cygwin mismatch earlier
2020-09-20 11:14:51 -07:00
Anthony Sottile
91530f1005 check cygwin mismatch earlier 2020-09-20 10:42:11 -07:00
Anthony Sottile
3e2b9dc91a Merge pull request #1603 from pre-commit/no_format_executable
Fix ruby hooks when --format-executable is in gemrc
2020-09-18 09:37:41 -07:00
Anthony Sottile
13eed4ac5b Fix ruby hooks when --format-executable is in gemrc
I used this gemrc to break things (default on opensuse):

```yaml
---
:benchmark: false
:install: --format-executable --no-user-install
install: --format-executable --no-user-install
:backtrace: true
:update_sources: true
:format_executable: true
:verbose: true
:update: --format-executable --no-user-install
update: --format-executable --no-user-install
:bulk_threshold: 1000
:sources:
- https://rubygems.org
```
2020-09-18 09:13:19 -07:00
Anthony Sottile
801a31302d Merge pull request #1599 from pre-commit/remove_hardcoded_c_python
remove hardcoded python location
2020-09-15 12:44:52 -07:00
Anthony Sottile
4888644990 remove hardcoded python location 2020-09-15 12:04:25 -07:00
Anthony Sottile
8f32c5b929 Merge pull request #1595 from Celeborn2BeAlive/1583-wrong-shebang-line-win10-pyenvwin
Drop python.exe extension on windows in shebang line to fix pyenv-win setup
2020-09-09 13:19:39 -07:00
Celeborn2BeAlive
273326b89b drop python.exe extension on windows on shebang 2020-09-09 12:42:48 -07:00
Anthony Sottile
8e9f927e3d Merge pull request #1592 from pre-commit/ws_traceback
fix excess whitespace in traceback in error
2020-09-07 15:23:16 -07:00
Anthony Sottile
3a0406847b fix excess whitespace in traceback in error 2020-09-07 15:01:50 -07:00
Anthony Sottile
918821b7e0 Merge pull request #1590 from pre-commit/nodeenv_system_healthy_fix
fix for node healthy() when system executable moves
2020-09-07 14:24:11 -07:00
Anthony Sottile
b149c7a344 fix for node healthy() when system executable moves 2020-09-07 13:23:02 -07:00
Anthony Sottile
f511afe40e v2.7.1 v2.7.1 2020-08-23 10:53:21 -07:00
Anthony Sottile
7c804cabe6 Merge pull request #1577 from pre-commit/os_replace
fix atomic file replace on windows
2020-08-23 10:49:14 -07:00
Anthony Sottile
fe70c72691 Merge pull request #1576 from pre-commit/immediately_unhealthy_cache
fix cache of invalidated unhealthy environment version info
2020-08-23 10:49:07 -07:00
Anthony Sottile
79b098c409 fix atomic file replace on windows 2020-08-23 10:18:59 -07:00