I have a bit of code using a simple tcp socket setup to test something.
We run pylint --errors-only
on our python files, generally as a way to validate all our code
You can use pylint --errors-only --ignored-classes=_socketobject
or add
[TYPECHECK]
ignored-classes=SQLObject,_socketobject
to your ~/.pylintrc
file.
From the documenation,
ignored-classes:
List of classes names for which member attributes should not be checked (useful for classes with attributes dynamically set).
Default: SQLObject