bottleneckcrm/backend/common/views/__init__.py
ashwin31 687fd9244f fix: resolve 222 Prospector static analysis issues across backend
- Fix missing `import json` in leads and opportunity views (runtime bugs)
- Remove ~60 unused imports across 30+ files
- Remove unused variables and dead code assignments
- Convert f-string logging to lazy % formatting (41 instances)
- Chain exceptions with `from exc` for proper tracebacks
- Replace mutable default arguments with None guards
- Fix invalid escape sequences, set comprehensions, f-strings
- Remove unnecessary else/elif after return/raise/continue
- Modernize: super() without args, remove object inheritance
- Replace wildcard import with explicit imports in contacts/views
- Fix wrong-import-position in invoices and auth views
- Add noqa comments for intentional side-effect imports
- Add encoding parameter to open() call
- Fix renamed parameter in serializer validate override

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 14:00:19 +05:30

2 lines
93 B
Python

# Views package for common app
from .org_settings_views import OrgSettingsView # noqa: F401