add autopep8 formatting

This commit is contained in:
2025-12-10 02:51:46 +01:00
parent 9242b02957
commit 59183e7021
10 changed files with 43 additions and 16 deletions

6
scripts/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 bin,lib,include,venv,.git,__pycache__ .
echo "Code formatted with autopep8."