2018-09-07 04:25:39 +00:00
|
|
|
repos:
|
|
|
|
- repo: git@github.com:pre-commit/pre-commit-hooks.git
|
|
|
|
rev: v1.4.0
|
|
|
|
hooks:
|
|
|
|
- id: autopep8-wrapper
|
2022-01-23 00:48:46 +00:00
|
|
|
language_version: python3
|
2018-09-07 04:25:39 +00:00
|
|
|
args:
|
|
|
|
- --in-place
|
|
|
|
- --aggressive
|
|
|
|
- --aggressive
|
|
|
|
- --ignore=E731
|
|
|
|
- --max-line-length=131
|
|
|
|
- id: check-added-large-files
|
2022-01-23 00:48:46 +00:00
|
|
|
language_version: python3
|
2018-09-07 04:25:39 +00:00
|
|
|
- id: check-ast
|
2022-01-23 00:48:46 +00:00
|
|
|
language_version: python3
|
2018-09-07 04:25:39 +00:00
|
|
|
- id: check-case-conflict
|
2022-01-23 00:48:46 +00:00
|
|
|
language_version: python3
|
2018-09-07 04:25:39 +00:00
|
|
|
- id: check-docstring-first
|
2022-01-23 00:48:46 +00:00
|
|
|
language_version: python3
|
2018-09-07 04:25:39 +00:00
|
|
|
- id: debug-statements
|
2022-01-23 00:48:46 +00:00
|
|
|
language_version: python3
|
2018-09-07 04:25:39 +00:00
|
|
|
- id: double-quote-string-fixer
|
2022-01-23 00:48:46 +00:00
|
|
|
language_version: python3
|
2018-09-07 04:25:39 +00:00
|
|
|
- id: end-of-file-fixer
|
2022-01-23 00:48:46 +00:00
|
|
|
language_version: python3
|
2018-09-07 05:03:20 +00:00
|
|
|
exclude_types: [batch, lua]
|
2018-09-07 04:25:39 +00:00
|
|
|
- id: fix-encoding-pragma
|
2022-01-23 00:48:46 +00:00
|
|
|
language_version: python3
|
2018-09-07 04:25:39 +00:00
|
|
|
- id: flake8
|
2022-01-23 00:48:46 +00:00
|
|
|
language_version: python3
|
2018-09-07 04:25:39 +00:00
|
|
|
args:
|
|
|
|
- --max-complexity=10
|
|
|
|
- --max-line-length=131
|
2018-09-07 05:15:05 +00:00
|
|
|
- --ignore=E402,E731
|
2018-09-07 04:25:39 +00:00
|
|
|
- --exclude=bin/autojump_argparse.py
|
|
|
|
- id: name-tests-test
|
2022-01-23 00:48:46 +00:00
|
|
|
language_version: python3
|
2018-09-07 04:25:39 +00:00
|
|
|
- id: requirements-txt-fixer
|
2022-01-23 00:48:46 +00:00
|
|
|
language_version: python3
|
2018-09-07 04:25:39 +00:00
|
|
|
- id: trailing-whitespace
|
2022-01-23 00:48:46 +00:00
|
|
|
language_version: python3
|
2018-09-07 04:25:39 +00:00
|
|
|
- repo: git@github.com:asottile/reorder_python_imports.git
|
|
|
|
rev: v1.1.1
|
|
|
|
hooks:
|
|
|
|
- id: reorder-python-imports
|
2022-01-23 00:48:46 +00:00
|
|
|
language_version: python3
|
2018-09-07 04:25:39 +00:00
|
|
|
- repo: git@github.com:asottile/add-trailing-comma
|
|
|
|
rev: v0.7.0
|
|
|
|
hooks:
|
|
|
|
- id: add-trailing-comma
|