Skip to content

Commit

Permalink
Remove language_version from .pre-commit-hooks.yaml (#258)
Browse files Browse the repository at this point in the history
This enables `default_language_version` stanzas
in consuming `.pre-commit-config.yaml` files to take precedence.

This change is the same as psf/black#2430,
see that PR for full context on why this is beneficial.

This was previously PR'ed to this project as
#144.
It was closed at the time so my company has been keeping a fork of this
project with the patch applied.
With the new maintainership, I wanted to ask whether this change would
be accepted at this time.
Thanks in advance for taking a look, happy to answer any questions.
  • Loading branch information
aneeshusa committed Aug 16, 2023
1 parent bd02804 commit fc2a13f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .pre-commit-hooks.yaml
Expand Up @@ -3,5 +3,4 @@
description: Run `black` on python code blocks in documentation files
entry: blacken-docs
language: python
language_version: python3
files: '\.(rst|md|markdown|py|tex)$'

0 comments on commit fc2a13f

Please sign in to comment.