Commit graph

  • 26a05b547e
    Merge pull request #2103 from pre-commit/all-repos_autofix_systemexit-main Anthony Sottile 2021-10-23 11:29:35 -07:00
  • c8cf74dc71 replace exit(main()) with raise SystemExit(main()) Anthony Sottile 2021-10-23 13:23:48 -04:00
  • 663a766a0c
    Merge pull request #2097 from colens3/master Anthony Sottile 2021-10-22 16:19:24 -07:00
  • 63ae399db0 Add fail_fast support per-hook Stojan Nedic 2021-10-19 22:17:42 +02:00
  • e7fe7468dd
    fix(tests): ensure tests using _path_without_us() are skipped if pre-commit is installed system-wide Axel H 2021-10-22 19:17:57 +02:00
  • 78ccfbf863
    fix(gitignore): ignore .venv standard location Axel H 2021-10-22 16:35:43 +02:00
  • 12d947b9ee
    fix(tests): ensure that all tests which are language or binary dependant are skipped if missing dependency Axel H 2021-10-22 16:34:47 +02:00
  • c0d0922d8c
    fix(tests): ensures init.defaultBranch does not break the tests Axel H 2021-10-22 16:02:34 +02:00
  • ae53a8eb65
    Merge pull request #2098 from pre-commit/asottile-patch-1 Anthony Sottile 2021-10-19 19:14:13 -07:00
  • d0c9e589ca
    ban broken importlib-resources versions Anthony Sottile 2021-10-19 19:02:36 -07:00
  • 2ea663db30 [pre-commit.ci] auto fixes from pre-commit.com hooks pre-commit-ci[bot] 2021-10-18 23:55:59 +00:00
  • 83cecf6e18 Add 'install-hooks' to COMMANDS_NO_GIT Janek Lasocki-Biczysko 2021-10-19 00:44:27 +01:00
  • c18d2ec0f2 Ignore BOM for autoupdate migration Mohammadreza Jafari 2021-10-17 02:57:25 +03:30
  • 95a7cebbd4 [pre-commit.ci] auto fixes from pre-commit.com hooks pre-commit-ci[bot] 2021-10-15 20:18:52 +00:00
  • 1ff3525c69 Refactor imports to remove duplication. shivnaren 2021-10-16 01:47:02 +05:30
  • 38756c50bc
    Update hook_impl.py Tavisca-ayal-gul 2021-10-15 09:35:45 -05:00
  • 30a6019fd8
    remove unnecessary __name__ check Tushar Sadhwani 2021-10-12 12:54:49 +05:30
  • 2ac26e221c
    Merge pull request #2086 from pre-commit/pre-commit-ci-update-config Anthony Sottile 2021-10-11 17:55:17 -07:00
  • 8c844c794d work around conda bug installing python3.1/site-packages Anthony Sottile 2021-10-11 20:20:30 -04:00
  • 82e1768656 First pass at adding a hook selector for files that contain a given string Chris Read 2021-10-11 15:58:26 -05:00
  • 69a4dbda68 [pre-commit.ci] auto fixes from pre-commit.com hooks pre-commit-ci[bot] 2021-10-11 18:53:57 +00:00
  • 247d892e69
    [pre-commit.ci] pre-commit autoupdate pre-commit-ci[bot] 2021-10-11 18:53:36 +00:00
  • 6872289f1a
    Merge pull request #2078 from pre-commit/pre-commit-ci-update-config Anthony Sottile 2021-10-04 12:58:20 -07:00
  • 0acf2e99c4
    [pre-commit.ci] pre-commit autoupdate pre-commit-ci[bot] 2021-10-04 18:54:25 +00:00
  • 61efc539a4
    pre_commit: expose fail-fast argument for run subcommand Luís Ferreira 2021-10-03 00:34:39 +01:00
  • 1bf65b37c6 Use os.path.realpath() for path canonicalization Yuri D'Elia 2021-10-02 18:59:48 +02:00
  • d021bbfabd
    Merge pull request #2071 from pre-commit/submodule-recurse-bug Anthony Sottile 2021-10-01 16:47:50 -07:00
  • e9ed248a15 make sure to not discard changes even if submodule.recurse=1 Anthony Sottile 2021-10-01 18:45:36 -04:00
  • e0e3fabfdb
    Merge pull request #2066 from pre-commit/unxfail-node-windows Anthony Sottile 2021-09-27 17:44:37 -07:00
  • 2fc00f73b6 un-xfail node on windows Anthony Sottile 2021-09-27 19:59:58 -04:00
  • b3c0d84dd3
    Merge pull request #2065 from pre-commit/hook-template-bash Anthony Sottile 2021-09-27 16:59:10 -07:00
  • e622f793c3 port hook template to bash Anthony Sottile 2021-09-27 19:34:04 -04:00
  • dd0a41661f [pre-commit.ci] auto fixes from pre-commit.com hooks pre-commit-ci[bot] 2021-09-27 18:50:25 +00:00
  • 02169ee59f
    [pre-commit.ci] pre-commit autoupdate pre-commit-ci[bot] 2021-09-27 18:48:58 +00:00
  • ef7b126ee3
    Merge pull request #2053 from radek-sprta/master Anthony Sottile 2021-09-22 16:56:21 -07:00
  • cef9c4af03 Add warning for regular expression with [\/] (#2043) Radek SPRTA 2021-09-17 21:16:11 +02:00
  • 530dbe69ce
    Merge pull request #2047 from pre-commit/windows-as-usual Anthony Sottile 2021-09-14 14:15:34 -07:00
  • ab94dd69f8 fix pre-commit autoupdate for core.useBuiltinFSMonitor=true on windows Anthony Sottile 2021-09-13 20:01:25 -04:00
  • b5d007ee23
    Create SECURITY.md Marvin Neira 2021-09-10 10:57:56 -04:00
  • 2ef29b7f95
    Merge pull request #2039 from pre-commit/issue-form Anthony Sottile 2021-09-06 15:52:04 -04:00
  • 09ffe421a9 add a bug report issue form Anthony Sottile 2021-09-06 15:01:42 -04:00
  • 36b8ad63d2 v2.15.0 v2.15.0 Anthony Sottile 2021-09-02 20:33:19 -04:00
  • c64c36b120
    Merge pull request #2036 from uSpike/add-post-rewrite-hook Anthony Sottile 2021-09-02 14:08:23 -04:00
  • 4cd8b364dd Add: post-rewrite hook support Jordan Speicher 2021-09-01 14:50:59 -05:00
  • 3bab1514c3
    Merge pull request #2030 from pre-commit/duplicate-messages-autoupdate Anthony Sottile 2021-08-30 21:49:04 -04:00
  • 25a1988859
    Merge pull request #2029 from pre-commit/broken-symlink-check-useless-excludes Anthony Sottile 2021-08-30 21:48:56 -04:00
  • 726f2ad0a3 remove duplicate warnings while running autoupdate Anthony Sottile 2021-08-30 20:17:35 -04:00
  • 35d3ed40cd fix check-useless-excludes for exclude of broken symlink Anthony Sottile 2021-08-30 19:58:59 -04:00
  • a96bb23caf
    Merge pull request #2031 from pre-commit/wtf-is-ort Anthony Sottile 2021-08-30 20:55:57 -04:00
  • 54a481c04b update tests for latest git Anthony Sottile 2021-08-30 20:48:41 -04:00
  • 66c51a3d56
    Merge pull request #2027 from pre-commit/dart Anthony Sottile 2021-08-30 19:30:51 -04:00
  • 2d03991195
    Merge pull request #2028 from pre-commit/pre-commit-ci-update-config Anthony Sottile 2021-08-30 15:10:08 -04:00
  • 46c18d9370
    [pre-commit.ci] pre-commit autoupdate pre-commit-ci[bot] 2021-08-30 18:35:12 +00:00
  • f8e21cb78b add support for dart as a hook language Anthony Sottile 2021-08-28 18:44:34 -04:00
  • 0f08ba77c8 v2.14.1 v2.14.1 Anthony Sottile 2021-08-28 14:15:40 -04:00
  • 12f62d2191
    Merge pull request #2026 from pre-commit/incorrect-regular-expressions Anthony Sottile 2021-08-28 14:07:53 -04:00
  • f963bf6f9a make repo: meta only apply to top level configuration Anthony Sottile 2021-08-28 13:39:55 -04:00
  • 026e10bcc1 writing tests for custom core hooksPaths uri 2021-08-28 02:18:51 +03:00
  • 1c8fe57b66 support custom core.hooksPath uri 2021-08-28 01:35:03 +03:00
  • 40e21bb8ba
    Merge pull request #2020 from pre-commit/pre-commit-ci-update-config Anthony Sottile 2021-08-23 14:44:45 -04:00
  • b829bc2dba
    [pre-commit.ci] pre-commit autoupdate pre-commit-ci[bot] 2021-08-23 18:12:36 +00:00
  • 0d9f2d1466 Added a test for failing get_root_dir inside the git folder Daniel Schürmann 2021-08-06 23:23:44 +02:00
  • c43698e942 fix get_root() for the case of called from the git dir Daniel Schürmann 2021-08-06 22:48:11 +02:00
  • 509e4e20e8
    Merge pull request #2005 from pre-commit/disparate-histories Anthony Sottile 2021-08-10 08:55:03 -04:00
  • 0fe959df60 fall back to full diff on disparate histories Anthony Sottile 2021-08-09 20:13:15 -04:00
  • abc1c5d9ba
    Merge pull request #2004 from pre-commit/pre-commit-ci-update-config Anthony Sottile 2021-08-09 11:52:02 -07:00
  • d6f5504311
    [pre-commit.ci] pre-commit autoupdate pre-commit-ci[bot] 2021-08-09 18:05:46 +00:00
  • cc9f8f66c8 Add a case test for get_git_dir() and get_git_common_dir() Daniel Schürmann 2021-08-06 13:23:21 +02:00
  • eba15d128b Split get_git_dir() into get_git_dir() and get_git_common_dir() Daniel Schürmann 2021-07-11 07:59:33 +02:00
  • ab15d7d22d v2.14.0 v2.14.0 Anthony Sottile 2021-08-06 11:32:11 -07:00
  • 451e042835 Permit installing to core.hooksPath if within repo Noah Pendleton 2021-08-05 13:02:19 -04:00
  • 6cfdabb69a
    Merge pull request #1997 from pre-commit/true-dind Anthony Sottile 2021-08-03 16:41:21 -04:00
  • 5d1cac64c1 ignore self-container when in docker-in-docker Anthony Sottile 2021-08-03 13:08:07 -07:00
  • a4444f1996
    Merge pull request #1996 from pre-commit/pre-commit-ci-update-config Anthony Sottile 2021-08-02 15:30:08 -04:00
  • 5bd2077872
    [pre-commit.ci] pre-commit autoupdate pre-commit-ci[bot] 2021-08-02 18:01:06 +00:00
  • a02859ad6b
    Merge pull request #1989 from pre-commit/pre-commit-ci-update-config Anthony Sottile 2021-07-26 14:34:48 -04:00
  • 6cd4e2af48
    [pre-commit.ci] pre-commit autoupdate pre-commit-ci[bot] 2021-07-26 17:51:54 +00:00
  • 621146bd80
    Merge pull request #1984 from pre-commit/pre-commit-ci-update-config Anthony Sottile 2021-07-19 18:24:20 -04:00
  • 0065a71e3d
    [pre-commit.ci] pre-commit autoupdate pre-commit-ci[bot] 2021-07-19 21:58:13 +00:00
  • fe436f1eb0
    Merge pull request #1974 from pre-commit/pre-commit-ci-update-config Anthony Sottile 2021-07-12 20:18:26 -04:00
  • 81c0413c38
    [pre-commit.ci] pre-commit autoupdate pre-commit-ci[bot] 2021-07-12 23:20:49 +00:00
  • 835f9c65e9
    Merge pull request #1968 from pre-commit/pre-commit-ci-update-config Anthony Sottile 2021-07-05 18:30:48 -04:00
  • d4c14fb6fd
    [pre-commit.ci] pre-commit autoupdate pre-commit-ci[bot] 2021-07-05 22:01:40 +00:00
  • edcbf8fb4b
    Merge pull request #1919 from adarnimrod/fix-container-id Anthony Sottile 2021-07-03 14:44:01 -04:00
  • 8067f013d2 fix casing in .pre-commit-hooks.yaml Anthony Sottile 2021-07-03 11:14:05 -07:00
  • 3e1020945e A more reliable way to get the container id. Adar Nimrod 2021-05-22 13:13:33 +03:00
  • e5af36958b Add pre-commit hook for tox-ini-fmt wwuck 2021-07-03 02:00:17 +10:00
  • 4ae57bab8c
    Update sample config pre-commit-hooks version to v4.0.1 Schäfer, Denny 2021-07-02 15:15:05 +02:00
  • 0e53f006bf Make color configurable Dheepak Krishnamurthy 2021-07-01 15:32:48 -06:00
  • 68294256a1
    Merge pull request #1956 from pre-commit/pre-commit-ci-update-config Anthony Sottile 2021-06-28 18:14:39 -07:00
  • af429b951d
    [pre-commit.ci] pre-commit autoupdate pre-commit-ci[bot] 2021-06-28 17:37:10 +00:00
  • 12339fd1d6 Fix broken hyperlinks when installing environments Sorin Sbarnea 2021-06-22 13:58:02 +01:00
  • 2d4de2ef35
    Merge pull request #1949 from pre-commit/all-repos_autofix_mypy-settings Anthony Sottile 2021-06-21 19:52:48 -07:00
  • 1dca1f3c19 stricter mypy settings Anthony Sottile 2021-06-21 19:15:37 -07:00
  • ba5e6eb42d
    Merge pull request #1947 from FlorentClarret/pre_push_local_branch Anthony Sottile 2021-06-19 11:46:17 -07:00
  • 584fd585ec Expose local branch ref as an environment variable Florent Clarret 2021-06-19 18:09:32 +02:00
  • 8037b45cb1
    Merge pull request #1943 from pre-commit/binary_legacy Anthony Sottile 2021-06-15 10:23:11 -07:00
  • 0ed646ed09 read legacy hooks in an encoding-agnostic way Anthony Sottile 2021-06-15 08:32:44 -07:00
  • b77194644e
    Merge pull request #1941 from pre-commit/pre-commit-ci-update-config Anthony Sottile 2021-06-14 12:26:01 -07:00
  • 19da6479a8
    Add mypy dependency on types-all Anthony Sottile 2021-06-14 11:58:41 -07:00