Update pre-commit hooks
This commit is contained in:
parent
b03733bc86
commit
b08f834d65
|
@ -1,18 +1,24 @@
|
|||
- repo: git@github.com:pre-commit/pre-commit-hooks
|
||||
sha: e0a6e66528c8335599408cbefe7ebf9e7e15ccb3
|
||||
sha: b03733bc86d9e8b2564a5798ade40d64baae3055
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
- id: autopep8-wrapper
|
||||
args: ['-i', '--ignore=E265,E309,E501']
|
||||
- id: check-docstring-first
|
||||
- id: check-json
|
||||
- id: check-added-large-files
|
||||
- id: check-yaml
|
||||
- id: debug-statements
|
||||
- id: name-tests-test
|
||||
- id: requirements-txt-fixer
|
||||
- id: flake8
|
||||
- repo: git@github.com:pre-commit/pre-commit
|
||||
sha: 3cac9489b3886f72b00f83d5128c2b22ea2fbcca
|
||||
sha: 645838cb514583249478e347aa80a0af743edace
|
||||
hooks:
|
||||
- id: validate_config
|
||||
- id: validate_manifest
|
||||
- repo: git@github.com:asottile/reorder_python_imports
|
||||
sha: ea9fa14a757bb210d849de5af8f8ba2c9744027a
|
||||
hooks:
|
||||
- id: reorder-python-imports
|
||||
|
|
|
@ -2,10 +2,11 @@ from __future__ import absolute_import
|
|||
from __future__ import print_function
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import autopep8
|
||||
import io
|
||||
import sys
|
||||
|
||||
import autopep8
|
||||
|
||||
|
||||
def main(argv=None):
|
||||
argv = argv if argv is not None else sys.argv[1:]
|
||||
|
|
|
@ -2,6 +2,7 @@ from __future__ import print_function
|
|||
|
||||
import argparse
|
||||
import sys
|
||||
|
||||
import simplejson
|
||||
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@ from __future__ import print_function
|
|||
|
||||
import argparse
|
||||
import sys
|
||||
|
||||
import yaml
|
||||
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@ from __future__ import print_function
|
|||
import argparse
|
||||
import fileinput
|
||||
import sys
|
||||
|
||||
from plumbum import local
|
||||
|
||||
|
||||
|
|
|
@ -3,6 +3,6 @@
|
|||
coverage
|
||||
flake8
|
||||
mock
|
||||
pre-commit
|
||||
pylint<1.4
|
||||
pytest
|
||||
pre-commit
|
||||
|
|
|
@ -3,6 +3,7 @@ from __future__ import unicode_literals
|
|||
|
||||
import io
|
||||
import os.path
|
||||
|
||||
import pytest
|
||||
|
||||
from pre_commit_hooks.autopep8_wrapper import main
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
import ast
|
||||
|
||||
import pytest
|
||||
|
||||
from pre_commit_hooks.debug_statement_hook import DebugStatement
|
||||
from pre_commit_hooks.debug_statement_hook import debug_statement_hook
|
||||
from pre_commit_hooks.debug_statement_hook import DebugStatement
|
||||
from pre_commit_hooks.debug_statement_hook import ImportStatementParser
|
||||
from testing.util import get_resource_path
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import io
|
||||
import os.path
|
||||
|
||||
import pytest
|
||||
|
||||
from pre_commit_hooks.end_of_file_fixer import end_of_file_fixer
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import os.path
|
||||
|
||||
import pytest
|
||||
|
||||
from pre_commit_hooks.requirements_txt_fixer import fix_requirements_txt
|
||||
|
|
Loading…
Reference in New Issue