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