Skip to content

Commit 11057ae

Browse files
committed
Add blacken docs
1 parent 654c6dd commit 11057ae

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.pre-commit-config.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,14 @@ repos:
122122
files: ^pandas/_libs/src|^pandas/_libs/include
123123
args: [-i]
124124
types_or: [c, c++]
125+
- repo: https://github.com/adamchainz/blacken-docs
126+
rev: 1.16.0
127+
hooks:
128+
- id: blacken-docs
129+
additional_dependencies:
130+
- black==24.2.0
131+
types_or: [rst]
132+
args: [--skip-errors]
125133
- repo: local
126134
hooks:
127135
- id: pyright

0 commit comments

Comments
 (0)