We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 189ab92 commit 610b058Copy full SHA for 610b058
.pre-commit-config.yaml
@@ -130,6 +130,10 @@ repos:
130
rev: v1.12.1
131
hooks:
132
- id: blacken-docs
133
+ # --skip-errors is added to allow us to have python syntax highlighting even if
134
+ # the python code blocks includes jupyter specific additions such as % or !
135
+ # See https://github.com/asottile/blacken-docs/issues/127 for an upstream
136
+ # feature request about this.
137
args: [--target-version=py39, --skip-errors]
138
139
# Docker hooks do not work in pre-commit.ci
0 commit comments