-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
pydantic BaseModel E0611 #7486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thank you for the report @vainaixr. Using the following option suppresses both issues reported by your example: pylint --extension-pkg-whitelist='pydantic' example.py |
even SQLModel uses similar class attributes convention, do I keep adding all libraries to whitelist. |
You can also use You can disable |
Bug description
I do
pylint says
plus I do,
it says R0903, too few public methods
Configuration
No response
Command used
Pylint output
Expected behavior
there should be no issue with importing BaseModel from pydantic
if you see the way pydantic is used, both the issues should not be there
Pylint version
OS / Environment
No response
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: