Use more flexible `language_version: python3`
This commit is contained in:
parent
308d789d92
commit
4de247cfa0
|
@ -5,13 +5,13 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
args: [--safe, --quiet]
|
args: [--safe, --quiet]
|
||||||
language_version: python3.6
|
language_version: python3
|
||||||
- repo: https://github.com/asottile/blacken-docs
|
- repo: https://github.com/asottile/blacken-docs
|
||||||
rev: v0.2.0
|
rev: v0.2.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: blacken-docs
|
- id: blacken-docs
|
||||||
additional_dependencies: [black==18.6b4]
|
additional_dependencies: [black==18.6b4]
|
||||||
language_version: python3.6
|
language_version: python3
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v1.3.0
|
rev: v1.3.0
|
||||||
hooks:
|
hooks:
|
||||||
|
@ -37,7 +37,6 @@ repos:
|
||||||
files: ^(CHANGELOG.rst|HOWTORELEASE.rst|README.rst|changelog/.*)$
|
files: ^(CHANGELOG.rst|HOWTORELEASE.rst|README.rst|changelog/.*)$
|
||||||
language: python
|
language: python
|
||||||
additional_dependencies: [pygments, restructuredtext_lint]
|
additional_dependencies: [pygments, restructuredtext_lint]
|
||||||
python_version: python3.6
|
|
||||||
- id: changelogs-rst
|
- id: changelogs-rst
|
||||||
name: changelog files must end in .rst
|
name: changelog files must end in .rst
|
||||||
entry: ./scripts/fail
|
entry: ./scripts/fail
|
||||||
|
|
Loading…
Reference in New Issue