Skip to content

Commit

Permalink
ci: add docformatter args and dependency
Browse files Browse the repository at this point in the history
docformatter currently can't read from pyproject.toml without tomli
  • Loading branch information
alycejenni committed Oct 31, 2024
1 parent 5107af6 commit 2f165b2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ repos:
- id: detect-private-key
- id: end-of-file-fixer
- id: name-tests-test
args: ["--pytest-test-first"]
args: ['--pytest-test-first']
exclude: ^tests/helpers/
- id: trailing-whitespace
- repo: https://github.com/commitizen-tools/commitizen
rev: v3.30.0
hooks:
- id: commitizen
additional_dependencies: ["cz-nhm"]
additional_dependencies: ['cz-nhm']
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.1
hooks:
Expand All @@ -25,6 +25,8 @@ repos:
rev: eb1df34
hooks:
- id: docformatter
args: [ '-i', '--config', './pyproject.toml' ]
additional_dependencies: ['tomli']
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
hooks:
Expand Down

0 comments on commit 2f165b2

Please sign in to comment.