Trying to fix flake8

This commit is contained in:
klein panic
2024-12-13 02:43:47 -05:00
parent 4f1d2ab767
commit 03c46dcfb5
32 changed files with 2925 additions and 47 deletions

30
.flake8
View File

@@ -1,21 +1,19 @@
[flake8]
max-line-length = 88
exclude =
venv,
.git,
__pycache__,
# Directories to exclude from linting
exclude =
venv,
.git,
__pycache__
ignore =
E203, # Whitespace before ':', compatible with Black formatting
W503, # Line break before binary operator, also compatible with Black formatting
E501, # Line length (use max-line-length instead)
E402, # Module level import not at top of file
F841, # Local variable assigned to but never used (useful for placeholders or debugging)
W291, # Trailing whitespace
W292, # No newline at end of file
W293, # Blank line contains whitespace
E302, # Expected 2 blank lines, found 1 (can make code more compact if ignored)
E305, # Expected 2 blank lines after class or function definition
E741, # Ambiguous variable name (e.g., l, O)
# Error codes to ignore
# E203, W503 are ignored for compatibility with Black formatting
# E501 is ignored because max-line-length is set
# F841 is useful for placeholders or debugging
ignore =
E203,
W503,
E501,
F841