Skip to content

Commit

Permalink
Update .pre-commit-config.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
sjohn4 authored Jan 8, 2025
1 parent de709f4 commit d0d1385
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,17 @@ repos:
args: [--fix]
- id: ruff-format
types_or: [python, pyi, jupyter]

- repo: https://github.com/psf/black
rev: 24.4.2
hooks:
- id: black
always_run: true
pass_filenames: false
args:
- .
- --config=black.toml
- --safe
- --target-version=py311
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.9.0"
hooks:
Expand All @@ -26,6 +36,15 @@ repos:
types-PyYAML,
types-protobuf,
]
- repo: https://github.com/Quantco/pre-commit-mirrors-prettier
rev: 3.2.5
hooks:
- id: prettier-conda
files: "\\.(md|json|yml|yaml)$"
- repo: https://github.com/myint/docformatter
rev: v1.7.5
hooks:
- id: docformatter
- repo: https://github.com/crate-ci/typos
rev: v1.20.9
hooks:
Expand Down

0 comments on commit d0d1385

Please sign in to comment.