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