Files
MidasEngine/.flake8
2024-12-14 17:32:34 -05:00

51 lines
1.1 KiB
INI

[flake8]
# Increased line length for flexibility
max-line-length = 100
# Directories to exclude from linting
exclude =
venv
.git
__pycache__
# flake8 error codes to ignore
# Whitespace before ':', compatible with Black formatting
# Line break before binary operator, compatible with Black formatting
# Line length (use max-line-length instead)
# Module level import not at top of file
# Local variable assigned to but never used (useful for placeholders or debugging)
# Trailing whitespace
# No newline at end of file
# Blank line contains whitespace
# Expected 2 blank lines, found 1
# Expected 2 blank lines after class or function definition
# Ambiguous variable name (e.g., l, O)
# Block comment should start with '# '
# Do not use bare 'except'
# Module imported but unused
# Blank line at end of file
# At least two spaces before inline comment
# Continuation line under-indented for visual indent
ignore =
E203
W503
E501
E402
F841
W291
W292
W293
E302
E305
E741
E265
E722
F401
W391
E261
E128
E231
E226