a2c71a49f2
- Consolidated and simplified code formatting by removing unnecessary line breaks and improving readability in various functions. - Updated the handling of backup file sending in backup.py for better clarity. - Streamlined error handling and logging messages in several handlers to enhance consistency. - Adjusted the Makefile to exclude specific files during Ruff checks and formatting. - Made minor adjustments to function signatures and parameter handling for improved clarity and consistency. This commit enhances code maintainability and readability without altering functionality.
29 lines
566 B
TOML
29 lines
566 B
TOML
[tool.ruff]
|
|
line-length = 120
|
|
target-version = "py310"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "W", "I", "N", "UP", "ANN", "ASYNC", "S", "BLE", "FBT", "B", "A", "C4", "DTZ", "T10", "ISC", "ICN", "G", "PIE"]
|
|
ignore = ["ANN101", "ANN102", "S101",'ANN201','ANN001','BLE001']
|
|
exclude = [
|
|
".git",
|
|
"venv",
|
|
"main.py",
|
|
"handlers/payments",
|
|
]
|
|
|
|
[tool.ruff.format]
|
|
quote-style = "double"
|
|
indent-style = "space"
|
|
|
|
[tool.darker]
|
|
src = ["."]
|
|
revision = "HEAD"
|
|
diff = false
|
|
check = false
|
|
exclude = [
|
|
".git",
|
|
"venv",
|
|
"main.py",
|
|
"handlers/payments",
|
|
] |