mirror of
https://github.com/astral-sh/ruff.git
synced 2025-11-18 11:41:21 +00:00
Add language: python to several pre-commit hook entries (#20992)
This commit is contained in:
parent
38c074e67d
commit
44e678a222
1 changed files with 2 additions and 0 deletions
|
|
@ -35,6 +35,7 @@ repos:
|
|||
rev: 0.7.22
|
||||
hooks:
|
||||
- id: mdformat
|
||||
language: python # means renovate will also update `additional_dependencies`
|
||||
additional_dependencies:
|
||||
- mdformat-mkdocs==4.0.0
|
||||
- mdformat-footnote==0.1.1
|
||||
|
|
@ -58,6 +59,7 @@ repos:
|
|||
rev: 1.19.1
|
||||
hooks:
|
||||
- id: blacken-docs
|
||||
language: python # means renovate will also update `additional_dependencies`
|
||||
args: ["--pyi", "--line-length", "130"]
|
||||
files: '^crates/.*/resources/mdtest/.*\.md'
|
||||
exclude: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue