Add autopep8 configuration and integrate into workflows for code formatting

This commit is contained in:
mr. M
2025-01-12 16:57:34 +01:00
parent 838569e386
commit 225ab67a50
9 changed files with 156 additions and 99 deletions

View File

@@ -17,8 +17,8 @@
"update-ff": "python3 scripts/update_ff.py",
"update-ff:raw": "surfer update",
"update-newtab": "python3 scripts/update_newtab.py",
"pretty": "prettier . --write",
"lint": "npx prettier . --check",
"pretty": "prettier . --write && autopep8 -r scripts/ --in-place",
"lint": "npx prettier . --check && autopep8 --diff -r scripts/",
"prepare": "husky"
},
"repository": {