Add + apply pre-commit

This commit is contained in:
marksverdhei committed 2023-04-26 16:35:59 +02:00
1 parent 3a62f06f80
commit ed3b9d5f52
28 files changed
+1248 -1069

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- id: requirements-txt-fixer
- id: end-of-file-fixer
- repo: https://github.com/psf/black
rev: 23.3.0
hooks:
- id: black
exclude: .*/deprecated/.*
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
name: isort (python)
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: 'v0.0.245'
hooks:
- id: ruff
exclude: .*/deprecated/.*