|
| 1 | +repos: |
| 2 | +- repo: [email protected]:mirrors/pre-commit/pre-commit-hooks |
| 3 | + sha: v0.9.4 |
| 4 | + hooks: |
| 5 | + - id: double-quote-string-fixer |
| 6 | + language_version: python3.6 |
| 7 | + - id: trailing-whitespace |
| 8 | + language_version: python3.6 |
| 9 | + - id: end-of-file-fixer |
| 10 | + language_version: python3.6 |
| 11 | + exclude: ^\.activate\.sh$ |
| 12 | + - id: autopep8-wrapper |
| 13 | + language_version: python3.6 |
| 14 | + args: [-i, --max-line-length=131] |
| 15 | + - id: check-yaml |
| 16 | + language_version: python3.6 |
| 17 | + - id: debug-statements |
| 18 | + language_version: python3.6 |
| 19 | + exclude: ^itests/environment.py$ |
| 20 | + - id: name-tests-test |
| 21 | + language_version: python3.6 |
| 22 | + - id: check-added-large-files |
| 23 | + language_version: python3.6 |
| 24 | + exclude: ^(\.activate\.sh|.*clusterman_signals_acceptance\.tar\.gz)$ |
| 25 | + - id: check-byte-order-marker |
| 26 | + language_version: python3.6 |
| 27 | + - id: fix-encoding-pragma |
| 28 | + args: [--remove] |
| 29 | + language_version: python3.6 |
| 30 | + - id: flake8 |
| 31 | + language_version: python3.6 |
| 32 | + exclude: ^docs/.* |
| 33 | + args: ['--ignore=E121,E123,E126,E133,E226,E241,E242,E704,W503,W504,W505,W605'] |
| 34 | +- repo: [email protected]:mirrors/asottile/reorder_python_imports |
| 35 | + sha: v0.3.5 |
| 36 | + hooks: |
| 37 | + - id: reorder-python-imports |
| 38 | + args: [ |
| 39 | + --remove-import, 'from __future__ import absolute_import', |
| 40 | + --remove-import, 'from __future__ import print_function', |
| 41 | + --remove-import, 'from __future__ import unicode_literals', |
| 42 | + ] |
| 43 | + language_version: python3.6 |
| 44 | +- repo: [email protected]:mirrors/asottile/pyupgrade |
| 45 | + sha: v1.2.0 |
| 46 | + hooks: |
| 47 | + - id: pyupgrade |
| 48 | + args: [--py3-plus] |
| 49 | + language_version: python3.6 |
0 commit comments