diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a06d469..8372706 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,6 +18,12 @@ 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: @@ -26,4 +32,17 @@ repos: rev: v2.5.0 hooks: - id: pycln - args: [--config=pyproject.toml] + 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/