blob: bf9d525ac44fc16890b2fcd2513f8f4b95f89230 [file] [log] [blame]
Anthony Sottilee5774322017-09-07 19:22:03 -07001repos:
Anthony Sottile3a3a7a12015-12-25 09:37:18 -08002- repo: https://github.com/pre-commit/pre-commit-hooks
Anthony Sottilef1e943e2017-10-19 10:34:23 -07003 sha: v1.1.1
Anthony Sottile4fc86a82014-03-14 14:23:08 -07004 hooks:
Anthony Sottile3e36dfe2014-03-23 23:10:35 -07005 - id: trailing-whitespace
Anthony Sottile3e36dfe2014-03-23 23:10:35 -07006 - id: end-of-file-fixer
Anthony Sottile76a62e72014-08-22 11:04:55 -07007 - id: autopep8-wrapper
Anthony Sottileb08f8342015-01-04 16:05:20 -08008 - id: check-docstring-first
Anthony Sottilee1f5bab2014-08-19 16:05:41 -07009 - id: check-json
Anthony Sottilea42a26b2014-12-31 12:24:22 -080010 - id: check-added-large-files
Anthony Sottile84fbf052014-04-03 22:23:50 -070011 - id: check-yaml
Anthony Sottile84fbf052014-04-03 22:23:50 -070012 - id: debug-statements
Anthony Sottile84fbf052014-04-03 22:23:50 -070013 - id: name-tests-test
Anthony Sottileb08f8342015-01-04 16:05:20 -080014 - id: requirements-txt-fixer
Anthony Sottile13b4ca52014-04-13 17:58:19 -070015 - id: flake8
Anthony Sottile3a3a7a12015-12-25 09:37:18 -080016- repo: https://github.com/pre-commit/pre-commit
Anthony Sottilef36ce702017-08-14 18:24:29 -070017 sha: v0.16.3
Anthony Sottile4fc86a82014-03-14 14:23:08 -070018 hooks:
Anthony Sottile84fbf052014-04-03 22:23:50 -070019 - id: validate_manifest
Anthony Sottile3a3a7a12015-12-25 09:37:18 -080020- repo: https://github.com/asottile/reorder_python_imports
Anthony Sottileb281d872017-07-17 17:41:44 -070021 sha: v0.3.5
Anthony Sottileb08f8342015-01-04 16:05:20 -080022 hooks:
23 - id: reorder-python-imports
Anthony Sottile3a3a7a12015-12-25 09:37:18 -080024 language_version: python2.7
Anthony Sottile9cee71b2017-03-12 18:01:29 -070025- repo: https://github.com/asottile/pyupgrade
Anthony Sottilef36ce702017-08-14 18:24:29 -070026 sha: v1.1.4
Anthony Sottile9cee71b2017-03-12 18:01:29 -070027 hooks:
28 - id: pyupgrade
Anthony Sottile2a902e02017-07-12 18:35:24 -070029- repo: https://github.com/asottile/add-trailing-comma
Anthony Sottilef36ce702017-08-14 18:24:29 -070030 sha: v0.6.4
Anthony Sottile2a902e02017-07-12 18:35:24 -070031 hooks:
32 - id: add-trailing-comma