Allow black and rst pre-commit hooks to run on any Python 3 version

Since py2 is dropped we don't really need to worry about this anymore.
This commit is contained in:
Ran Benita
2021-10-30 12:10:08 +03:00
parent f51289582e
commit 999923ba97

View File

@@ -4,7 +4,6 @@ repos:
hooks: hooks:
- id: black - id: black
args: [--safe, --quiet, --target-version, py35] args: [--safe, --quiet, --target-version, py35]
language_version: python3.7
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1 rev: v4.0.1
hooks: hooks:
@@ -29,4 +28,3 @@ 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]
language_version: python3.7