From 9a816ec566897b0584ec5dad55e261a430f49009 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sun, 27 Oct 2024 00:06:10 +0200 Subject: [PATCH] chore: run ruff on python files at pre-commit MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- tests/ocpp-server/.lintstagedrc.js | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tests/ocpp-server/.lintstagedrc.js 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'], +} -- 2.34.1