From 4cc14524e6b8de0e151772db0628a1f57599d54a Mon Sep 17 00:00:00 2001 From: MatteoRobbiati Date: Thu, 30 Jan 2025 11:37:31 +0100 Subject: [PATCH] adapt pre-commit to qibo's one --- .pre-commit-config.yaml | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8372706..a06d469 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,12 +18,6 @@ repos: hooks: - id: isort args: ["--profile", "black"] - - repo: https://github.com/PyCQA/docformatter - rev: v1.7.5 - hooks: - - id: docformatter - additional_dependencies: [tomli] - args: [--in-place, --config, ./pyproject.toml] - repo: https://github.com/asottile/pyupgrade rev: v3.19.1 hooks: @@ -32,17 +26,4 @@ repos: rev: v2.5.0 hooks: - id: pycln - args: - - --config=pyproject.toml - - --all - - repo: https://github.com/adamchainz/blacken-docs - rev: 1.19.1 - hooks: - - id: blacken-docs - - repo: https://github.com/pycqa/pydocstyle - rev: 6.3.0 - hooks: - - id: pydocstyle - args: - - --select=D103,D200,D206,D300,D301 - files: ^src/ + args: [--config=pyproject.toml]