I'm encountering the too-many-instance-attributes pylint error in multiple files
and I want to disable this message only for one file my_project/runner/runner.py.
Is it possible to do this in the poetry pyproject.toml file?
pylint my_project
************* Module my_project.models_vi.config.hostname
my_project\models_vi\config\hostname.py:67:0: R0902: Too many instance attributes (9/7) (too-many-instance-attributes)
************* Module my_project.models_vi.config.port_descr
my_project\models_vi\config\port_descr.py:92:0: R0902: Too many instance attributes (11/7) (too-many-instance-attributes)
************* Module my_project.runner.runner
my_project\runner\runner.py:22:0: R0902: Too many instance attributes (9/7) (too-many-instance-attributes)
There is the Per File Ignore Plugin where you can ignore files with:
Or you can add a comment at the start of the module like so if you don't want or can't use plugins.