Skip to content
Snippets Groups Projects

Setup pre commit and add configuration

Merged Martina Müller requested to merge setup-pre-commit into main
5 files
+ 133
26
Compare changes
  • Side-by-side
  • Inline
Files
5
+ 25
0
repos:
- repo: https://github.com/psf/black
rev: 24.2.0
hooks:
- id: black
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
hooks:
- id: codespell
args: ["$(wildcard *.md) docs src tests config contrib"]
- repo: https://github.com/PyCQA/flake8
rev: 7.0.0
hooks:
- id: flake8
args: ["--config=.flake8"]
additional_dependencies: [
"flake8-docstrings"
]
\ No newline at end of file
Loading