Commit graph

  • 47c89785e8 Added newline roottool 2019-04-22 04:17:09 +09:00
  • 5b01ea52f2 empty commit roottool 2019-04-22 04:11:18 +09:00
  • e7924b53e4 Changed from open() to io.open() roottool 2019-04-22 03:48:18 +09:00
  • e6e26c3110
    Merge pull request #376 from marcjay/no-commit-to-branch-wildcard v2.2.0 Anthony Sottile 2019-04-20 16:50:49 -07:00
  • 053feb1e6f Use AbstractSet to appease mypy Anthony Sottile 2019-04-20 16:21:58 -07:00
  • a7af812449 Make optional argument use an immutable set for the default value in no-commit-to-branch. Make other sets immutable to satisfy type-checking and be consistent Marc Jay 2019-04-20 23:07:14 +01:00
  • 6568414fc5 Clarify default behaviour in README for no-commit-to-branch Marc Jay 2019-04-20 14:06:59 +01:00
  • 7b959d140f Tidy up indentation in README changes for no-commit-to-branch Marc Jay 2019-04-20 13:52:59 +01:00
  • 8d2785b9d6 Amend approach for no-commit-to-branch to use regex matching based on feedback. Adds --pattern optional argument which can be used alongside --branch to block commits to a branch which matches a supplied regex expression Marc Jay 2019-04-20 13:46:49 +01:00
  • d6847c4827 Add wildcard matching to no-commit-to-branch hook so that commits can be blocked on, for example, all release branches with 'release/*' Marc Jay 2019-04-09 23:53:39 +01:00
  • aa9c202b9b
    Merge pull request #374 from pre-commit/check_docstring_first_no_encoding Anthony Sottile 2019-03-30 15:44:22 -07:00
  • 2f6a2515ec Don't require an encoding for check-docstring-first Anthony Sottile 2019-03-30 15:31:42 -07:00
  • 536a18f497
    Add README entry for check-toml hook Semyon Maryasin 2019-03-28 01:50:06 +03:00
  • dc641085e7
    Use toml rather than pytoml Semyon Maryasin 2019-03-28 01:22:57 +03:00
  • cb365ba9c3
    Add check-toml hook Semyon Maryasin 2019-03-28 01:13:45 +03:00
  • cbc17d19d9
    Merge pull request #372 from tobywf/master Anthony Sottile 2019-03-21 16:43:40 -07:00
  • 841c47ebf7 Run check-byte-order-marker against all text types, not just Python files Toby Fleming 2019-03-21 16:33:00 -07:00
  • f8ae0aab7b
    Merge pull request #370 from pre-commit/all-repos_autofix_trigger-on-tags Anthony Sottile 2019-03-17 11:34:28 -07:00
  • 3337b5ec0d Trigger azure pipelines on tags Anthony Sottile 2019-03-17 11:00:24 -07:00
  • d85c06d9a6
    Use more generic github endpoint name Anthony Sottile 2019-03-10 17:29:03 -07:00
  • 5320b1cd59
    Merge pull request #368 from pre-commit/azure_pipelines Anthony Sottile 2019-03-10 17:26:45 -07:00
  • 8bb94f0bd4 azure pipelines [skip travis] [skip appveyor] Anthony Sottile 2019-03-10 13:42:05 -07:00
  • 8171e47eb2
    Merge pull request #369 from pre-commit/safe_load Anthony Sottile 2019-03-10 15:33:11 -07:00
  • 01850a34c7 Use ruamel.yaml for readme_test Anthony Sottile 2019-03-10 15:24:38 -07:00
  • e463c926cc
    Merge pull request #367 from pre-commit/all-repos_autofix_setup-py-upgrade Anthony Sottile 2019-02-27 23:02:54 -08:00
  • 1a5a5a232b Migrate setup.py to setup.cfg declarative metadata Anthony Sottile 2019-02-27 22:12:12 -08:00
  • 1722bd0ce2 Add hook for checking python modules Jonathan Como 2019-02-16 14:15:07 -08:00
  • 76c604c9fb
    Merge pull request #364 from asottile/remove_flake8_config Anthony Sottile 2019-02-13 09:53:53 -05:00
  • 8626e266dd double-quote-string-fixer Anthony Sottile 2019-02-11 19:57:37 -08:00
  • 4575652bd2 Use default flake8 config Anthony Sottile 2019-02-11 19:56:15 -08:00
  • a977384397 add exclude pattern to test names hook Ahmed Taweel 2019-02-06 09:27:19 +02:00
  • 634383cffd
    Merge pull request #360 from pre-commit/mypy Anthony Sottile 2019-02-02 10:47:43 -08:00
  • f5ae7d1ece
    Merge pull request #362 from revolter/patch-1 Anthony Sottile 2019-02-02 00:48:32 -08:00
  • 93e3a4f3ee
    Don't run check-executables-have-shebangs and trailing-whitespace-fixer hooks for the commit-msg stage Iulian Onofrei 2019-02-02 10:38:39 +02:00
  • 030bfac7e4 Apply typing to all of pre-commit-hooks Anthony Sottile 2019-01-31 19:19:10 -08:00
  • 63cc3414e9 Updates for flake8 3.7 Anthony Sottile 2019-01-30 00:15:11 -08:00
  • 50d31f9c5c
    Merge pull request #359 from pre-commit/all-repos_autofix_all-repos-sed Anthony Sottile 2019-01-29 22:24:28 -08:00
  • c9f7b813e3 Add W504 to ignored autopep8 rules Anthony Sottile 2019-01-29 22:09:54 -08:00
  • 7456565cab
    Merge pull request #358 from pre-commit/asottile-patch-1 Anthony Sottile 2019-01-27 09:35:23 -08:00
  • 2c29916456
    Turn off pre-commit's automated multiprocessing for flake8 Anthony Sottile 2019-01-27 09:25:18 -08:00
  • 7b8d15f438
    Merge pull request #355 from pre-commit/all-repos_autofix_nosudo Anthony Sottile 2019-01-14 21:19:17 -08:00
  • 3709f5b2c4 remove sudo: in .travis.yml Anthony Sottile 2019-01-14 20:59:50 -08:00
  • 087a963817 adds sql formatter Timothy Sweetser 2019-01-04 17:30:33 -05:00
  • d4b887a69e
    Merge pull request #352 from pre-commit/pre_commit_autoupdate Anthony Sottile 2019-01-02 10:38:50 -08:00
  • e7158ce14d pre-commit autoupdate Anthony Sottile 2019-01-02 10:31:51 -08:00
  • de9e7a04b1
    Merge pull request #351 from pre-commit/ruamel_yaml Anthony Sottile 2018-12-28 14:18:07 -08:00
  • a762639038 switch from pyyaml to ruamel.yaml Anthony Sottile 2018-12-28 13:09:17 -08:00
  • ed5a523745 Add update_commit_msg Shakya, Milind 2018-12-25 23:08:28 -05:00
  • 2a92b74ea1 Adds fix-yaml hook Sorin Sbarnea 2018-12-27 20:39:48 +00:00
  • c8bad492e1 v2.1.0 v2.1.0 Anthony Sottile 2018-12-26 09:48:02 -08:00
  • 1622fbe28e
    add a encoding optional for read python code xxc 2018-12-12 15:48:38 +08:00
  • c65fcd3fc5
    Merge pull request #341 from gimbo/improvement/mix-line-endings-reporting Anthony Sottile 2018-12-03 09:08:12 -08:00
  • 1566cf9cca Add test for mixed line endings output Anthony Sottile 2018-12-03 08:34:05 -08:00
  • e32adb413a
    Merge pull request #343 from TheKevJames/patch-1 Anthony Sottile 2018-11-26 14:59:10 -08:00
  • 1d705879fd
    Update .pre-commit-hooks.yaml Kevin James 2018-11-26 14:43:33 -08:00
  • 4303229d8f
    Update .pre-commit-hooks.yaml Kevin James 2018-11-26 12:18:43 -08:00
  • 3eca2d07a5
    fix(metadata): deprecate autopep8-wrapper Kevin James 2018-11-26 12:12:42 -08:00
  • aec4d6e7ae
    fix(metadata): remove autopep8-wrapper Kevin James 2018-11-26 11:44:03 -08:00
  • 59ed512020 In mixed-line-endings, move check/print to main() as suggested by asottile (PR 341) Andy Gimblett 2018-11-26 17:29:49 +00:00
  • f3c65bcd20 Report failing filenames when --fix=no in mixed-line-endings Andy Gimblett 2018-11-26 10:17:52 +00:00
  • 6932b83509 Adding detect-raw-datetime-manipulation option Asim Goheer 2018-11-14 14:14:39 -08:00
  • 2dbaced650
    Merge pull request #333 from rpdelaney/fix/aws-credentials-docs Anthony Sottile 2018-10-28 16:29:24 -07:00
  • 0d83fed4fa Reword usage info to clarify required usage syntax Ryan Delaney 2018-10-28 15:59:39 -07:00
  • 2d4833c73e Rename metavar to clarify required usage syntax Ryan Delaney 2018-10-28 15:58:14 -07:00
  • 4b8eb6f96a Add required argument to cli parameter Ryan Delaney 2018-10-28 12:07:03 -07:00
  • efc5b9ecc1 Add missing parameter --allow-missing-credentials Ryan Delaney 2018-10-28 12:05:42 -07:00
  • f8b8997c07 Automatically fix package=version in requirements.txt Paul Hooijenga 2018-10-23 21:26:37 +02:00
  • 86bfe8c475
    Merge pull request #329 from rpdelaney/feature/ban_gpg_private_key Anthony Sottile 2018-10-22 12:52:43 -07:00
  • b1feed0ced Add ban for pgp/gpg private key blocks Ryan Delaney 2018-10-22 12:11:59 -07:00
  • cb2bc2edc3
    Merge pull request #327 from mtkennerly/bugfix/eol-crlf Anthony Sottile 2018-10-13 16:53:05 -07:00
  • e694a6cfc2 Incorporate patch to support isolated CR mtkennerly 2018-10-13 19:44:02 -04:00
  • 2ab5832ce1 Preserve CRLF if file already ends that way mtkennerly 2018-10-13 19:00:22 -04:00
  • abd3d0ec3f Fix CRLF lines mtkennerly 2018-10-13 07:26:53 -04:00
  • e01bc2c2a1 v2.0.0 v2.0.0 Anthony Sottile 2018-10-12 19:55:16 -07:00
  • dbf7de0031
    Merge pull request #325 from pre-commit/use_subprocess Anthony Sottile 2018-10-12 19:44:44 -07:00
  • 69f2da629e Use subprocess directly Anthony Sottile 2018-10-12 19:37:46 -07:00
  • 08e2918d60
    Merge pull request #321 from pre-commit/suggest_mirrors_autopep8 Anthony Sottile 2018-10-12 19:23:26 -07:00
  • c9a608a9ca
    Merge pull request #323 from pre-commit/remove_compat Anthony Sottile 2018-10-12 19:23:13 -07:00
  • 6d83a62aad
    Merge pull request #324 from pre-commit/markdown_ext Anthony Sottile 2018-10-12 19:22:38 -07:00
  • 99453a5366 Default --no-markdown-linebreak-ext for trailing-whitespace Anthony Sottile 2018-10-12 18:10:02 -07:00
  • 2f6ba1b88e Remove legacy hooks.yaml and pre-types config Anthony Sottile 2018-10-11 22:20:07 -07:00
  • 526904b159 Remove autopep8-wrapper in favor of autopep8 Anthony Sottile 2018-10-11 17:19:35 -07:00
  • 78b24438db
    Merge pull request #318 from milin/fix_readme Anthony Sottile 2018-10-10 11:20:06 -07:00
  • 3aa6c641d2
    Update README.md Anthony Sottile 2018-10-10 11:15:13 -07:00
  • 023851e657 Fix readme to correctly reflect no-commit-to-branch args Shakya, Milind 2018-10-04 17:40:47 -04:00
  • e018adf3ac Add changelog entry for 1.4.0-1 Anthony Sottile 2018-09-27 11:17:15 -07:00
  • b8c3b0503a
    Merge pull request #317 from revolter/patch-1 v1.4.0-1 Anthony Sottile 2018-09-27 11:15:03 -07:00
  • 5f6a443de2
    Fix options ordering Iulian Onofrei 2018-09-27 21:09:33 +03:00
  • 68aa6e77e1
    Don't run end-of-file-fixer hook for the commit-msg stage Iulian Onofrei 2018-09-27 20:44:09 +03:00
  • d722548fa0
    Merge 582c917016 into 219c70a9c1 zbarryte 2018-09-07 18:25:46 +00:00
  • 582c917016 Exclude folders from file list Zachary Barryte 2018-09-07 14:22:28 -04:00
  • aa04b33a10
    Merge a3849e9128 into 219c70a9c1 Daniel Metz 2018-07-27 18:30:10 +00:00
  • a3849e9128 add forbid-type-hints Daniel Metz 2018-07-27 11:28:05 -07:00
  • 219c70a9c1 v1.4.0 v1.4.0 Anthony Sottile 2018-07-22 09:32:56 -07:00
  • a10dec1998
    Merge pull request #306 from pre-commit/all-repos_autofix_appveyor-py37 Anthony Sottile 2018-07-10 14:23:39 -07:00
  • 942957096f Use python3.7 in appveyor Anthony Sottile 2018-07-10 13:13:21 -07:00
  • e719df51fe
    Merge pull request #305 from pre-commit/no_py35 Anthony Sottile 2018-07-08 10:18:44 -07:00
  • c9899ab7d1 Don't test python3.5 now that we test python3.7 Anthony Sottile 2018-07-08 08:20:50 -07:00
  • b9ade8f9a1
    Merge pull request #304 from expobrain/python_37 Anthony Sottile 2018-07-08 08:16:17 -07:00
  • c02c3a237f Removed PyYAML version Daniele Esposti 2018-07-06 19:39:11 +01:00