pre-commit: update for server part (#104)

This commit is contained in:
2023-08-04 10:15:38 +02:00
committed by GitHub
parent d6c4878894
commit a5ce66c299

View File

@@ -15,17 +15,18 @@ repos:
hooks:
- id: debug-statements
- id: trailing-whitespace
exclude: ^server/trials
- id: check-added-large-files
- id: detect-private-key
- repo: https://github.com/pycqa/isort
rev: 5.12.0
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.282
hooks:
- id: isort
args: ["--profile", "black"]
- id: ruff
files: ^server/(reflector|tests)/
- repo: https://github.com/psf/black
rev: 23.1.0
hooks:
- id: black
args: ["--line-length", "120"]
files: ^server/(reflector|tests)/