From bb6e847cc735f99dfc605d635b38f966e42d7ac0 Mon Sep 17 00:00:00 2001 From: Bill Little Date: Tue, 21 Nov 2023 01:10:13 +0000 Subject: [PATCH] add blacken-docs pre-commit hook --- .pre-commit-config.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ad3636d2..5a696e87 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -57,6 +57,12 @@ repos: types: [file, python] args: [--config=./pyproject.toml] + - repo: https://github.com/adamchainz/blacken-docs + rev: "1.16.0" + hooks: + - id: blacken-docs + additional_dependencies: [black==23.*] + - repo: https://github.com/aio-libs/sort-all rev: "v1.2.0" hooks: