mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-21 04:39:06 +00:00
pre-commit: update for server part (#104)
This commit is contained in:
@@ -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)/
|
||||||
|
|||||||
Reference in New Issue
Block a user