mirror of
https://github.com/EvolutionAPI/evolution-client-python.git
synced 2025-12-12 11:29:34 -06:00
refactor: configure ruff ignores and fix import issues
This commit is contained in:
parent
21115cca06
commit
ce0ca6c789
@ -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,
|
||||
|
||||
@ -1,4 +1,10 @@
|
||||
from ..models.profile import FetchProfile, PrivacySettings, ProfileName, ProfilePicture, ProfileStatus
|
||||
from ..models.profile import (
|
||||
FetchProfile,
|
||||
PrivacySettings,
|
||||
ProfileName,
|
||||
ProfilePicture,
|
||||
ProfileStatus,
|
||||
)
|
||||
|
||||
|
||||
class ProfileService:
|
||||
|
||||
@ -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]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user