Commit Graph

1844 Commits

Author SHA1 Message Date
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
Anthony Sottile
b63b37ac36 fix cache of invalidated unhealthy environment version info 2020-08-23 10:17:24 -07:00
Anthony Sottile
2e0ee5f5b2 Merge pull request #1572 from rkm/issues/1569-docker-perf
remove docker_is_running check from source
2020-08-22 18:03:50 -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
f1de792877 v2.7.0 v2.7.0 2020-08-22 13:31:12 -07:00
Anthony Sottile
a438dbfcf6 Merge pull request #1570 from pre-commit/readonly
allow pre-commit to succeed on a readonly store directory
2020-08-22 11:19:11 -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
9a5461db24 Merge pull request #1566 from thetradedesk/master
Save diff between hook executions
2020-08-21 21:02:09 -07:00
Johan Henkens
4063730925 Save diff between hook executions 2020-08-21 20:41:06 -07:00
Anthony Sottile
4f5cb99ff5 Merge pull request #1544 from pre-commit/wip_warning_on_old_config_style
warn on old list-style configuration
2020-07-25 14:27:08 -07:00
Anthony Sottile
e384c182bc Merge pull request #1546 from pre-commit/error_logging_read_only_filesystem
better error handling when Store is readonly
2020-07-25 13:10:39 -07:00
Anthony Sottile
68510596d3 warn on old list-style configuration 2020-07-25 13:04:54 -07:00
Anthony Sottile
cee834bb5e better error handling when Store is readonly 2020-07-25 12:32:54 -07:00