format code with autopep8

This commit is contained in:
2025-11-16 16:34:07 +01:00
parent f5741ecc62
commit 16bf9b54f2
6 changed files with 73 additions and 46 deletions

6
format.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/env bash
which autopep8 &> /dev/null || { echo "autopep8 not found, please install it."; exit 1; }
autopep8 --in-place --aggressive --aggressive --recursive --exclude .venv,.git,__pycache__ .
echo "Code formatted with autopep8."