style: standardize string formatting and improve readability across multiple files

- Refactored string formatting in various files to use consistent double quotes.
- Improved readability by adding newlines in function definitions and method calls.
- Cleaned up unnecessary imports and ensured proper spacing for better code clarity.
- Updated management commands and context processors for consistent formatting.
- Enhanced the overall maintainability of the codebase by adhering to PEP 8 guidelines.
- Applied Ruff linting and formatting
This commit is contained in:
badblocks 2025-06-12 20:53:38 -07:00
parent 4b9e4f651e
commit 39a002e394
No known key found for this signature in database
43 changed files with 1661 additions and 1159 deletions

View file

@ -1,12 +1,14 @@
from django.conf import settings
def cache_settings(request):
return {
'CACHE_TIMEOUT': settings.CACHE_TIMEOUT,
"CACHE_TIMEOUT": settings.CACHE_TIMEOUT,
}
def version_info(request):
return {
'VERSION': settings.VERSION,
'VERSION_INFO': settings.VERSION_INFO,
}
"VERSION": settings.VERSION,
"VERSION_INFO": settings.VERSION_INFO,
}