Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 16536

How can I disable a pylint message via pyproject.toml for a specific file?

$
0
0

I'm encountering the too-many-instance-attributes pylint error in multiple filesand 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.hostnamemy_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_descrmy_project\models_vi\config\port_descr.py:92:0: R0902: Too many instance attributes (11/7) (too-many-instance-attributes)************* Module my_project.runner.runnermy_project\runner\runner.py:22:0: R0902: Too many instance attributes (9/7) (too-many-instance-attributes)

Viewing all articles
Browse latest Browse all 16536

Trending Articles