manual changes to .pre-commit-config.yaml

This commit is contained in:
Anthony Sottile 2019-06-02 15:29:39 -07:00 committed by Bruno Oliveira
parent b8781ff868
commit 99057555e1
1 changed files with 7 additions and 6 deletions

View File

@ -7,17 +7,18 @@ repos:
args: [--safe, --quiet] args: [--safe, --quiet]
language_version: python3 language_version: python3
- repo: https://github.com/asottile/blacken-docs - repo: https://github.com/asottile/blacken-docs
rev: v0.5.0 rev: v1.0.0
hooks: hooks:
- id: blacken-docs - id: blacken-docs
additional_dependencies: [black==19.3b0] additional_dependencies: [black==19.3b0]
language_version: python3 language_version: python3
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.2.2 rev: v2.2.3
hooks: hooks:
- id: trailing-whitespace - id: trailing-whitespace
- id: end-of-file-fixer - id: end-of-file-fixer
- id: fix-encoding-pragma - id: fix-encoding-pragma
args: [--remove]
- id: check-yaml - id: check-yaml
- id: debug-statements - id: debug-statements
exclude: _pytest/debugging.py exclude: _pytest/debugging.py
@ -31,14 +32,14 @@ repos:
rev: v1.4.0 rev: v1.4.0
hooks: hooks:
- id: reorder-python-imports - id: reorder-python-imports
args: ['--application-directories=.:src'] args: ['--application-directories=.:src', --py3-plus]
- repo: https://github.com/asottile/pyupgrade - repo: https://github.com/asottile/pyupgrade
rev: v1.15.0 rev: v1.18.0
hooks: hooks:
- id: pyupgrade - id: pyupgrade
args: [--keep-percent-format] args: [--py3-plus]
- repo: https://github.com/pre-commit/pygrep-hooks - repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.3.0 rev: v1.4.0
hooks: hooks:
- id: rst-backticks - id: rst-backticks
- repo: local - repo: local