run ruff via pre-commit

This commit is contained in:
Min RK
2024-03-11 09:39:10 +01:00
parent 25da2c2ad3
commit 52af3abedc
22 changed files with 59 additions and 87 deletions

View File

@@ -27,6 +27,7 @@ def clean_dir_hook(spawner):
if os.path.exists(temp_path) and os.path.isdir(temp_path):
shutil.rmtree(temp_path)
c = get_config() # noqa
# attach the hook functions to the spawner