Commit graph

  • 8a1ff1d39e
    Add file patterns for trailing whitespace fixer Sander Maijers 2016-06-27 20:20:20 +02:00
  • 6d613239ef Update hooks.yaml Oscar-Garcia 2016-06-27 17:28:52 +02:00
  • 144c3857cd Merge pull request #123 from Oscar-Garcia/patch-1 Anthony Sottile 2016-06-20 06:42:50 -07:00
  • ea320d7463 Update debug_statement_hook.py Oscar-Garcia 2016-06-20 09:41:22 +02:00
  • 6dfcb89af3 Merge pull request #122 from sanmai-NL/JSON_arbitrary_indentation_separator Anthony Sottile 2016-06-13 08:50:53 -07:00
  • abaf0d12de
    Fix exc. raising logic to match validation issues Sander Maijers 2016-06-13 11:34:55 +02:00
  • cf3aabe9b1 Merge pull request #120 from sanmai-NL/JSON_arbitrary_indentation_separator Anthony Sottile 2016-06-12 10:25:59 -07:00
  • a5628863e8
    Refactor legacy indent: int -> indent: str Sander Maijers 2016-06-10 20:16:00 +02:00
  • 49a26cbfb6 Merge pull request #121 from sanmai-NL/Tox_fix_autosigning_upon_git_commit Anthony Sottile 2016-06-12 10:08:00 -07:00
  • 9e89b7616a
    Increase robustness of tests involving git Sander Maijers 2016-06-12 18:49:44 +02:00
  • 6b1aa19425 Merge pull request #117 from pre-commit/simplify_tests Anthony Sottile 2016-05-27 14:34:27 -07:00
  • a99475afa0 Simplify the tests Anthony Sottile 2016-05-27 14:09:50 -07:00
  • b64436cdda Merge pull request #116 from pre-commit/check_merge_conflict_binary_files Anthony Sottile 2016-05-26 12:02:43 -07:00
  • b4e29b5e63 Use newline='' to avoid automatic newline translation Anthony Sottile 2016-05-26 11:45:28 -07:00
  • 4a01f64c8f Fix check-merge-conflict against binary files Anthony Sottile 2016-05-26 11:20:32 -07:00
  • adbb569fe9 v0.5.1 v0.5.1 Anthony Sottile 2016-05-16 09:12:32 -07:00
  • 5ba9965103 Fail build if test coverage drops is <99% instead of <100%. William Ting 2016-04-30 23:15:55 -07:00
  • 2443de2655 Add pytest options and ignore test source code coverage. William Ting 2016-04-30 23:05:53 -07:00
  • 7f9dde14f0 Open source check-indent to auto-yelpdent. William Ting 2016-04-29 15:51:32 -07:00
  • 35548254ad Merge pull request #114 from wting/wting_support_diff3_conflictstyle Anthony Sottile 2016-04-30 21:16:00 -07:00
  • c92b46587d Add diff3 conflictstyle support for git merge conflicts. William Ting 2016-04-30 20:35:33 -07:00
  • 6f2b0a27e5 Merge pull request #111 from pre-commit/remove_coding_pragma Anthony Sottile 2016-04-27 11:34:56 -07:00
  • 03bf17f2b0 Add a --remove option to fix-encoding-pragma Anthony Sottile 2016-04-27 11:18:14 -07:00
  • 61989e4fae Merge 81dd4a52e5 into 17478a0a50 Konstantinos Koukopoulos 2016-04-21 09:47:45 +00:00
  • 81dd4a52e5 Update README.md Konstantinos Koukopoulos 2016-04-21 12:45:56 +03:00
  • 44c02b85d6 enable prospector in hooks.yaml Konstantinos Koukopoulos 2016-04-21 12:33:11 +03:00
  • 17478a0a50 Style fixups Anthony Sottile 2016-04-14 08:25:52 -07:00
  • ea867c2e68 Merge pull request #109 from mattclegg/no-sort-keys Anthony Sottile 2016-04-14 08:11:26 -07:00
  • f775891717 Drop messy py26 support in favour of 100% coverage mattclegg 2016-04-14 11:16:18 +01:00
  • d49f04c69e Adjust formatting for existing test_pretty_format_json mattclegg 2016-04-14 09:37:22 +01:00
  • bd4e37c366 Add test for '--no-sort-keys' mattclegg 2016-04-14 09:36:47 +01:00
  • 700b18ed0e Use OrderedDict to preserve order mattclegg 2016-04-14 09:30:42 +01:00
  • ff65d01841 v0.5.0 v0.5.0 Anthony Sottile 2016-04-05 10:52:44 -07:00
  • 44e1753f98 Merge pull request #107 from pre-commit/utf8_bom Ken Struys 2016-03-18 11:52:56 -07:00
  • fe9c404019 Forbid files with a UTF-8 BOM Anthony Sottile 2016-03-18 10:59:31 -07:00
  • f769c208bc Addding no-sort-keys to pretty_format_json, this allows to disable the sort on the keys Sébastien Larivière 2016-03-12 17:04:33 -05:00
  • 97b88d9610 flake8 2.5.3 is broken: https://gitlab.com/pycqa/flake8/issues/119 Anthony Sottile 2016-02-11 09:46:10 -08:00
  • 36214cb67b Merge pull request #102 from pre-commit/improve_error_message_aws_101 Anthony Sottile 2016-02-08 17:31:33 -08:00
  • d444ab821d Improve error message when credentials file is not provided Anthony Sottile 2016-02-08 17:05:39 -08:00
  • d740faeded Typo in no cover comment Anthony Sottile 2016-02-03 11:12:51 -08:00
  • 64943e8641 Add metadata for check-symlinks Anthony Sottile 2016-01-15 07:47:33 -08:00
  • 8d80d51cad Fix coverage on check_symlinks for windows Anthony Sottile 2016-01-15 07:41:58 -08:00
  • eff3eafcbb Merge pull request #98 from bchess/check_symlinks Anthony Sottile 2016-01-15 07:38:46 -08:00
  • ee1e98a884 Merge pull request #1 from pre-commit/asottile_check_symlinks Ben Chess 2016-01-15 10:36:20 -05:00
  • da882286e3 Skip the symlink tests on windows Anthony Sottile 2016-01-14 19:03:11 -08:00
  • d466a2e52c no cover some non-lfs lines Anthony Sottile 2016-01-14 18:57:03 -08:00
  • 896c0cfdc0 new hook tests for broken symlinks Benjamin Chess 2016-01-14 15:25:46 -08:00
  • 5edf945ca5 Merge pull request #96 from pre-commit/git_lfs Anthony Sottile 2016-01-04 14:05:19 -05:00
  • 3f6f23d73f Teach check-large-files-added about git-lfs. Reslves #82. Anthony Sottile 2015-12-25 09:25:14 -08:00
  • 2c62e4aafc Merge pull request #97 from pre-commit/dont_write_files_that_arent_cleaned_up Anthony Sottile 2015-12-26 14:11:10 -05:00
  • 7376a29d69 Write to temp directories in such a way that files get cleaned up Anthony Sottile 2015-12-26 10:58:33 -08:00
  • 61d3e60a20 Merge pull request #95 from pre-commit/run_pre_commit_during_test Anthony Sottile 2015-12-25 12:48:48 -05:00
  • 3a3a7a153a Run pre-commit during test Anthony Sottile 2015-12-25 09:37:18 -08:00
  • e306ff3b7d Merge pull request #91 from SBoudrias/patch-1 Anthony Sottile 2015-12-01 16:08:52 -08:00
  • 3284a1aa57 Fix code syntax in README Simon Boudrias 2015-12-01 15:42:07 -08:00
  • 78fd6916dd Merge pull request #90 from cchristous/master Anthony Sottile 2015-12-01 14:05:54 -08:00
  • a23c58298c Reformatted --diff-filter git argument Corey Christous 2015-12-01 16:59:22 -05:00
  • 0ff8620e03 Merge pull request #89 from phoxelua/master Anthony Sottile 2015-11-19 06:43:08 -08:00
  • 58edfc8af6 Fixed regex matching phoxelua 2015-11-19 00:18:38 -08:00
  • daa1e9a837 Merge pull request #87 from pre-commit/encoding_pragma_hook Anthony Sottile 2015-11-13 14:09:44 -08:00
  • aa2ba6f94f Add encoding pragma hook. Resolves pre-commit/pre-commit#15 Anthony Sottile 2015-11-13 12:34:37 -08:00
  • 29bf11d136 Merge pull request #85 from deanwilson/aws_detected_filenames Anthony Sottile 2015-10-28 09:50:57 -07:00
  • a6665279e7 Show names of files containing aws credentials Dean Wilson 2015-10-28 05:13:37 +00:00
  • edb5d5219e Merge pull request #84 from pre-commit/update_description_about_autopep8 Anthony Sottile 2015-10-18 12:36:53 -07:00
  • 44fbe61e3d Update description about autopep8. Closes #83 Anthony Sottile 2015-10-18 12:36:14 -07:00
  • f82fb149af Add C, C++ to whitespace hooks Anthony Sottile 2015-09-23 13:29:30 -07:00
  • a2d690a0ab Add check_rubocop Jordan Tardif 2015-09-09 08:52:11 +00:00
  • 616c1ebd18 Merge pull request #79 from chriskuehl/requirements-sorter-nocase Anthony Sottile 2015-08-17 12:55:56 -07:00
  • a1b0104f3d Sort requirements.txt case-insensitively Chris Kuehl 2015-08-17 12:43:13 -07:00
  • c2992bd3a1 Merge pull request #77 from pre-commit/check_ast_hook Anthony Sottile 2015-08-04 13:58:11 -07:00
  • 8a8aaf5a60 Add a hook to verify python ast. Anthony Sottile 2015-08-04 13:45:41 -07:00
  • 003e43251a Merge pull request #76 from chriskuehl/private-key-print-only-filename Anthony Sottile 2015-08-01 20:08:17 -04:00
  • ca2be345a1 detect_private_key: print *filenames*, not the key Chris Kuehl 2015-08-01 16:59:21 -07:00
  • 5dd2605fbe Merge pull request #75 from chriskuehl/add-pp-to-extensions Anthony Sottile 2015-07-28 08:01:36 -04:00
  • 500b279eaa Add .pp (Puppet manifest) to file extensions lists Chris Kuehl 2015-07-27 21:23:02 -07:00
  • 516cc9fa72 Allow six to bump Anthony Sottile 2015-06-17 11:49:19 -07:00
  • 99574324eb Merge pull request #60 from arahayrabedian/master Anthony Sottile 2015-06-17 11:46:15 -07:00
  • 993c05be65 update readme to reflect that we no longer check for access keys, only secrets Ara Hayrabedian 2015-06-13 16:32:30 +04:00
  • 974ef4e93c disable import checking for six.moves Ara Hayrabedian 2015-06-13 14:18:08 +04:00
  • 255af75d1f add six to installation requirements Ara Hayrabedian 2015-06-12 19:21:14 +04:00
  • 02e8bdc9d8 add tests, test sample files and minor refactor of exit codes in actual hook in order to facilitate testing Ara Hayrabedian 2015-06-12 19:20:56 +04:00
  • 88725503c4 remove print statement Ara Hayrabedian 2015-06-12 17:02:06 +04:00
  • 3078aec57b use six for config parser, add to reqs ditch checkign access_key (don't consider these a secret) don't check line by line, check the whole file in bulk instead Ara Hayrabedian 2015-06-12 16:24:01 +04:00
  • 0d88124ef6 Merge pull request #66 from pre-commit/binary_detect_private_key_64 Anthony Sottile 2015-06-11 14:43:43 -07:00
  • 07c938e1b1 Allow arbitrary binary to pass the private key hook check. Resolves #64 Anthony Sottile 2015-06-11 13:28:10 -07:00
  • 6077f2fefb Merge pull request #65 from LeoCavaille/master Anthony Sottile 2015-06-10 21:44:43 -07:00
  • 55bf22dc4a Add new hook pretty-format-json Léo Cavaillé 2015-06-10 17:08:48 -04:00
  • 95bf20d52d add aws credential checking ONLY FOR YOUR OWN credentials if they're set in a configurable credentials file (AWS CLI tools' native format) Ara Hayrabedian 2015-05-31 23:50:49 +04:00
  • cf550fcab3 v0.4.2 v0.4.2 Anthony Sottile 2015-05-31 14:02:52 -07:00
  • f138e3451b Update hooks Anthony Sottile 2015-05-31 13:51:02 -07:00
  • 5656e3cc30 Bump hooks Anthony Sottile 2015-05-31 13:47:21 -07:00
  • 9ba5af45ce Fix #59 by removing direct dependency on pyflakes Anthony Sottile 2015-05-31 13:46:47 -07:00
  • 2dda836789 tox-- Anthony Sottile 2015-05-16 19:11:06 -07:00
  • a00c16b8a3 Merge pull request #58 from dupuy/markdown-trailing-whitespace Anthony Sottile 2015-05-11 06:51:38 -07:00
  • a6023ac0d7 Implement Markdown trailing space line break preservation Alexander Dupuy 2015-05-10 10:00:54 +02:00
  • 822d83a142 Merge pull request #56 from dupuy/avoid-markup-merge-conflict-fp-2 Anthony Sottile 2015-05-08 20:38:34 -07:00
  • 16a4e68d88 Merge pull request #55 from dupuy/avoid-markup-merge-conflict-fp Anthony Sottile 2015-05-08 20:38:17 -07:00
  • 5c752935fd Refactor check-merge-conflicts tests Alexander Dupuy 2015-05-07 23:04:15 +02:00
  • eefc46f901 Don't report markup titles as merge conflicts Alexander Dupuy 2015-05-07 18:20:42 +02:00
  • 0ff999d2fd Merge a4dbda57ca into cedcea550c jab 2015-04-17 00:39:41 +00:00