Hey everyone, Is there a pylint plugin for metafl...
# ask-metaflow
r
Hey everyone, Is there a pylint plugin for metaflow? My organization uses pylint as a CI step and some of the normal patterns in metaflow like defining class instance variables without first defining them in
___init___
are considered bad practice by pylint: Attribute 'image_id' defined outside init (W0201)
a
@ripe-book-35925 sorry for the delayed response but metaflow runs a pylint check of it's own by default (muting some of the checks that don't apply to it)
r
Hey no problem! Yeah I saw those checks and I think they are essentially ignoring the types of warnings from pylint that my CI pipeline catches. I can't really ignore them globally because we want to conform to those standards in our codebase when writing code unrelated to metaflow. I don't have a great sense for how pylint plugins work, was hoping there was a way to make pylint ignore specific warnings when for example a class is inheriting from
FlowSpec