From: Jérôme Benoit Date: Sat, 26 Oct 2024 22:06:10 +0000 (+0200) Subject: chore: run ruff on python files at pre-commit X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=9a816ec566897b0584ec5dad55e261a430f49009;p=e-mobility-charging-stations-simulator.git chore: run ruff on python files at pre-commit Signed-off-by: Jérôme Benoit --- diff --git a/tests/ocpp-server/.lintstagedrc.js b/tests/ocpp-server/.lintstagedrc.js new file mode 100644 index 00000000..c0cf629e --- /dev/null +++ b/tests/ocpp-server/.lintstagedrc.js @@ -0,0 +1,4 @@ +export default { + '**/*.{json,md}': ['prettier --cache --write'], + '**/*.{py,pyi}': ['poetry run task format'], +}