瀏覽代碼

Matched blacken-docs config between ci and pre-commit.

Baptiste Mispelon 10 月之前
父節點
當前提交
e37f421da8
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      .pre-commit-config.yaml

+ 1 - 0
.pre-commit-config.yaml

@@ -11,6 +11,7 @@ repos:
         additional_dependencies:
         - black==24.2.0
         files: 'docs/.*\.txt$'
+        args: ["--rst-literal-block"]
   - repo: https://github.com/PyCQA/isort
     rev: 5.13.2
     hooks: