From 1149f1825136ed38ca67c8c937e5545dad9dfe21 Mon Sep 17 00:00:00 2001 From: Felix Hekhorn Date: Mon, 16 Sep 2024 14:06:48 +0300 Subject: [PATCH] Drop blacken-docs --- .pre-commit-config.yaml | 4 ---- pyproject.toml | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9da435d4f..6c210987b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -32,10 +32,6 @@ repos: - id: docformatter additional_dependencies: [tomli] args: [--in-place, --config, ./pyproject.toml] - - repo: https://github.com/asottile/blacken-docs - rev: 1.18.0 - hooks: - - id: blacken-docs - repo: https://github.com/pre-commit/mirrors-mypy rev: v1.11.2 hooks: diff --git a/pyproject.toml b/pyproject.toml index ee28a896d..0182ba02f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -217,3 +217,6 @@ exclude = [ "venv", "extras/" ] + +[tool.ruff.format] +docstring-code-format = true