Commit graph

  • 69b2cb5ea6 Revert "Simplify NO_COLOR check" Edgar Geier 2019-07-23 17:38:29 +02:00
  • 07797f3fff Revert "Change test to remove missed branch" Edgar Geier 2019-07-23 17:37:44 +02:00
  • a21a4f46c7 Fix missing create=True attribute in docker tests Edgar Geier 2019-07-23 15:35:19 +02:00
  • b43b6a61ab Add docker uid and gid fallback tests Edgar Geier 2019-07-23 15:14:06 +02:00
  • b7ce5db782 Use fallback uid and gid if os.getuid() and os.getgid() are unavailable Edgar Geier 2019-07-23 12:38:09 +02:00
  • 28f0d16073 Catch CalledProcessError when running outside a git repository Edgar Geier 2019-07-23 00:40:51 +02:00
  • 3d8a6a5b81 Do not enforce check of --config option for every command Edgar Geier 2019-07-23 00:36:18 +02:00
  • 1874cea63e
    Merge pull request #1092 from geieredgar/respect-no-color-environment-variable Anthony Sottile 2019-07-22 15:06:23 -07:00
  • 69a496339f Try path relative to git root directory Edgar Geier 2019-07-22 22:48:58 +02:00
  • 183e205288 Check --config option is a path to a regular file Edgar Geier 2019-07-22 21:13:28 +02:00
  • 84dcb91119 Change test to remove missed branch Edgar Geier 2019-07-22 20:23:59 +02:00
  • e9ff1be96c Simplify NO_COLOR check Edgar Geier 2019-07-22 20:09:32 +02:00
  • 8520455042 Add tests for NO_COLOR support Edgar Geier 2019-07-22 20:07:16 +02:00
  • 01d3a72a0e Require NO_COLOR environment variable to be non-empty to disable colors Edgar Geier 2019-07-22 19:35:39 +02:00
  • 1bf9ff7493 Don't use color if NO_COLOR environment variable is set Edgar Geier 2019-07-22 19:18:36 +02:00
  • 6e061ffabd Respect the git color.ui config value when run as git hook Edgar Geier 2019-07-22 19:11:25 +02:00
  • 1bd9bfefeb
    Merge pull request #1090 from pre-commit/template_dir Anthony Sottile 2019-07-20 20:56:02 -07:00
  • 9a52eefc99 Implement pre-commit init-templatedir Anthony Sottile 2019-07-20 19:10:50 -07:00
  • 83fbbaea9a
    Merge pull request #1089 from pre-commit/autoupdate_non_master_default_branch Anthony Sottile 2019-07-20 17:41:19 -07:00
  • 3def940574 reorder pre-commit sub commands Anthony Sottile 2019-07-20 16:24:10 -07:00
  • 8be0f857e8 Make autoupdate work for non-master default branches Anthony Sottile 2019-07-20 14:52:28 -07:00
  • 7769915a0b
    Merge pull request #1088 from pre-commit/autoupdate_shallow_fix Anthony Sottile 2019-07-20 15:21:27 -07:00
  • 73250ff4e3 Fix autoupdate to always use non-shallow clone Anthony Sottile 2019-07-20 14:19:46 -07:00
  • 95afd642f5
    Merge pull request #1079 from madkinsz/run-stage-prompt-1078 Anthony Sottile 2019-07-09 12:10:43 -07:00
  • 02d95c033c Fixed code style Michael Adkins 2019-07-09 13:48:06 -05:00
  • c148845a98 Added hook-stage print to output for missing hook id Michael Adkins 2019-07-09 13:06:18 -05:00
  • 927b2ab3f8
    Merge pull request #1077 from pre-commit/shallow_fetch_fetch_head Anthony Sottile 2019-07-08 08:22:21 -07:00
  • 01653b8077 Fix shallow fetch by checking out FETCH_HEAD Anthony Sottile 2019-07-07 22:10:32 -07:00
  • 24d4bc82d7
    Merge pull request #1075 from pre-commit/manifest_unnecessary Anthony Sottile 2019-07-07 13:01:27 -04:00
  • b12e4e82aa MANIFEST.in is unnecessary with license_file Anthony Sottile 2019-07-07 09:41:28 -07:00
  • 0cf2638b3b
    Merge pull request #1067 from pre-commit/devenv Anthony Sottile 2019-06-26 07:43:06 -07:00
  • f4b3add8ab Suggest tox --devenv instead of tox -e venv Anthony Sottile 2019-06-25 18:19:10 -07:00
  • 702f1401d4
    Merge pull request #1062 from pre-commit/sys_executable_matches Anthony Sottile 2019-06-17 13:12:25 -07:00
  • 9bdce088c8 Use sys.executable if it matches on posix as well Anthony Sottile 2019-06-17 07:54:38 -07:00
  • fdf476a5a1
    Merge pull request #1056 from pre-commit/document_new_language Anthony Sottile 2019-06-09 08:51:07 -07:00
  • 9d1342aeb6 Document adding a supported language Anthony Sottile 2019-06-09 08:41:06 -07:00
  • 26c6af21ef Add more checks for mingw platform Peter Mosmans 2019-06-08 20:07:01 +00:00
  • 9850eae10a Use current version of Python for Windows by default Peter Mosmans 2019-06-08 16:21:54 +02:00
  • e0c7db1021
    Merge pull request #1054 from pre-commit/rust_ap_linux Anthony Sottile 2019-06-06 09:18:40 -07:00
  • 90128c5a9d Fixes for rust tests on azure pipelines linux Anthony Sottile 2019-06-06 08:41:09 -07:00
  • 016eda9f3c v1.17.0 v1.17.0 Anthony Sottile 2019-06-06 08:30:11 -07:00
  • a75fe69984
    Merge pull request #1051 from mandarvaze/master Anthony Sottile 2019-06-01 08:11:45 -07:00
  • 3d7b374bef Pass correct value to git color based on args.color Mandar Vaze 2019-06-01 17:33:27 +05:30
  • 64f0178b75 Pass color option to git diff unconditionally Mandar Vaze 2019-06-01 07:40:20 +05:30
  • fff3ad518c
    Merge pull request #1052 from pre-commit/rust_ap Anthony Sottile 2019-05-31 13:35:49 -07:00
  • 071cc422c7 xfail default language version check for azure pipelines Anthony Sottile 2019-05-31 12:32:11 -07:00
  • e08d373be3 azure pipelines now has rust by default on windows Anthony Sottile 2019-05-31 08:47:58 -07:00
  • 4f4767c9e0 Pass color option to git diff (on failure) Mandar Vaze 2019-05-31 16:42:16 +05:30
  • 0b6a39768a
    Merge pull request #1048 from pre-commit/cfgv_2 Anthony Sottile 2019-05-27 13:59:24 -07:00
  • 625750eeef fixes for cfgv>=2 Anthony Sottile 2019-05-27 13:37:49 -07:00
  • 099f521b7e
    Merge pull request #1045 from pre-commit/fix_test_pre_commit_on_path Anthony Sottile 2019-05-26 19:11:57 -07:00
  • e868add5a3 Fix test_environment_not_sourced when pre-commit is installed globally Anthony Sottile 2019-05-26 13:12:37 -07:00
  • 28664d6bf1
    Merge pull request #1043 from pre-commit/rmtree_readonly_dirs Anthony Sottile 2019-05-22 12:32:54 -07:00
  • da44d4267e Fix rmtree for readonly directories Anthony Sottile 2019-05-22 11:04:35 -07:00
  • d597f3417b
    Improve instructions in error message Katrin Leinweber 2019-05-14 20:00:58 +02:00
  • 77947f212e
    Merge pull request #1033 from yoavcaspi/fix_tox_venv Anthony Sottile 2019-05-13 15:19:15 -07:00
  • bb78de09d1 move testenv:venv section to be in lexicographic order Yoav Caspi 2019-05-14 00:08:54 +03:00
  • bd212393ae
    Merge pull request #1027 from pre-commit/keyboard_interrupt_fix Anthony Sottile 2019-05-13 13:17:48 -07:00
  • 471fe7d58f restore testenv:venv section. to be able to set the dev environment as described in the CONTRIBUTING.md Yoav Caspi 2019-05-13 23:14:41 +03:00
  • fb15fa65f2 Fix handling of SIGINT in hook script Anthony Sottile 2019-05-10 20:27:52 -07:00
  • e10b81858a
    Merge pull request #1028 from yoavcaspi/warn_unknown_keys Anthony Sottile 2019-05-12 15:04:41 -07:00
  • 7a998a091e improve function name Yoav Caspi 2019-05-12 23:29:42 +03:00
  • ba7760b705 Add a test to validate that cfgv.WarnAdditionalKeys working as expected in the relevant config schemas Yoav Caspi 2019-05-12 15:09:15 +03:00
  • 9e1706505f
    Add useful instruction to error message Katrin Leinweber 2019-05-12 12:51:00 +02:00
  • a889f0bfd5
    Merge pull request #1030 from pre-commit/improved_interrupt_output Anthony Sottile 2019-05-11 20:18:06 -07:00
  • 217d31ec1c Add a check and test to the real top level and improve the warning message Yoav Caspi 2019-05-11 22:57:52 +03:00
  • f21316ebe8 Improve output when interrupted (^C) Anthony Sottile 2019-05-11 12:19:00 -07:00
  • 1c7ac67fba
    Merge pull request #1029 from yoavcaspi/typo_fix Anthony Sottile 2019-05-11 12:09:29 -07:00
  • 59c282b184 typo fix Yoav Caspi 2019-05-11 21:47:26 +03:00
  • fd9d9d276b Add warning to additional keys in config Yoav Caspi 2019-05-11 20:43:12 +03:00
  • b3bfecde39 Fix markdown typo Anthony Sottile 2019-05-08 08:27:53 -07:00
  • 168ede2be0 v1.16.1 v1.16.1 Anthony Sottile 2019-05-08 08:26:15 -07:00
  • b30df02920 mounting the superproject directory Ilya Epifanov 2019-05-08 14:32:04 +02:00
  • 69709798c6 mounting the superproject directory Ilya Epifanov 2019-05-08 13:50:25 +02:00
  • c2980217a8
    Merge pull request #1022 from pre-commit/1021 Anthony Sottile 2019-05-07 16:23:14 -07:00
  • d74ee6d743 Don't attempt to decode the healthy response Anthony Sottile 2019-05-07 09:38:17 -07:00
  • 8df6b22f4f
    Merge pull request #1018 from pre-commit/dates_in_changelog Anthony Sottile 2019-05-04 14:27:39 -04:00
  • f72a82359c Add dates to changelog entries Anthony Sottile 2019-05-04 08:43:11 -07:00
  • c65dd3ea3a Manually fix up 0.1 tag log Anthony Sottile 2019-05-04 08:39:53 -07:00
  • 75651dc8b0 v1.16.0 v1.16.0 Anthony Sottile 2019-05-04 08:26:42 -07:00
  • b135ab67ac test Ben Norquist 2019-04-30 18:01:55 -07:00
  • fa92aa223f test Ben Norquist 2019-04-30 17:42:40 -07:00
  • 195c406b78
    Merge pull request #1 from pre-commit/master Ben Norquist 2019-04-30 16:50:28 -07:00
  • 72f98d26e6
    Merge pull request #1015 from Myrheimb/patch-1 Anthony Sottile 2019-04-29 13:44:52 -07:00
  • 00e048995c
    Yet another try to fix #1013 Bjørnar Myrheim 2019-04-29 21:45:56 +02:00
  • 5977b1125b
    Another try to fix #1013 Bjørnar Myrheim 2019-04-29 21:33:58 +02:00
  • 5590fc7a53
    New try to fix #1013 Bjørnar Myrheim 2019-04-29 21:20:22 +02:00
  • e9e665d042
    Could this fix #1013? Bjørnar Myrheim 2019-04-29 20:22:18 +02:00
  • c97dfb2281
    Merge pull request #1014 from mxr/patch-1 Anthony Sottile 2019-04-28 22:53:24 -07:00
  • 64a65351b9
    Whitespace nit Max R 2019-04-29 01:40:12 -04:00
  • ee80f6218a Fix badge url Anthony Sottile 2019-04-28 22:08:21 -07:00
  • fee8ddd54b
    Merge pull request #1012 from pre-commit/azure_pipelines Anthony Sottile 2019-04-28 22:00:31 -07:00
  • 9c6edab726 azure pipelines [skip travis] [skip appveyor] Anthony Sottile 2019-04-28 17:36:54 -07:00
  • 09e64e8ff6
    Merge pull request #1011 from pre-commit/multi_install_windows Anthony Sottile 2019-04-27 16:01:32 -07:00
  • af2c6de9ae Fix double legacy install on windows Anthony Sottile 2019-04-27 15:10:01 -07:00
  • b8300268bf
    Merge pull request #1004 from marcjay/add_prepare-commit-msg_stage Anthony Sottile 2019-04-21 15:56:16 -07:00
  • 81a94b8048
    Merge pull request #1005 from asottile/gocache_appveyor Anthony Sottile 2019-04-21 15:54:32 -07:00
  • efeef97f5e passenv %LocalAppData% so go functions on windows Anthony Sottile 2019-04-21 15:32:11 -07:00
  • 82969e4ba3 Use set rather than list for commit message related stages, remove default file open modes, tidy up bash call for failing hook test Marc Jay 2019-04-21 21:58:01 +01:00
  • 64467f6ab9 Fix broken test_manifest_hooks test Marc Jay 2019-04-21 21:54:23 +01:00