added pythong linting using flake8

This commit is contained in:
klein panic
2024-10-31 21:49:05 -04:00
parent c941b01cfa
commit b00fc25044
4 changed files with 137 additions and 0 deletions

11
.flake8 Normal file
View File

@@ -0,0 +1,11 @@
[flake8]
max-line-length = 79 # PEP8 recommends 79, but you can adjust this
exclude =
venv, # Ignore your virtual environment
.git, # Ignore Git files
__pycache__, # Ignore Python cache
ignore =
E203, # Ignore specific errors (customize as needed)
W503 # Ignore line break before binary operator