refactor: configure ruff ignores and fix import issues

This commit is contained in:
Jackson Vieira 2025-12-03 13:58:44 -03:00
parent 21115cca06
commit ce0ca6c789
3 changed files with 11 additions and 7 deletions

View File

@ -5,17 +5,12 @@ import requests
from requests_toolbelt import MultipartEncoder
from ..models.message import (
Button,
ButtonMessage,
Contact,
ContactMessage,
ListMessage,
ListRow,
ListSection,
LocationMessage,
MediaMessage,
PollMessage,
QuotedMessage,
ReactionMessage,
StatusMessage,
TextMessage,

View File

@ -1,4 +1,10 @@
from ..models.profile import FetchProfile, PrivacySettings, ProfileName, ProfilePicture, ProfileStatus
from ..models.profile import (
FetchProfile,
PrivacySettings,
ProfileName,
ProfilePicture,
ProfileStatus,
)
class ProfileService:

View File

@ -55,7 +55,10 @@ select = [
"SIM", # flake8-simplify
]
ignore = [
"E501", # line too long (handled by formatter)
"E501", # line too long (handled by formatter)
"N803", # argument name should be lowercase (API compatibility)
"N815", # variable in class scope should not be mixedCase (API compatibility)
"SIM115", # context manager for files (requires refactoring file upload logic)
]
[tool.ruff.lint.isort]