Skip to content

Pylint depends on Graphviz & crashes if missing / Improve report-graph usage #228

Closed
@pylint-bot

Description

@pylint-bot

Originally reported by: Emile Anclin (BitBucket: anclin, GitHub: @Anclin?)


Pylint's report graphs depends on Graphviz since it uses logilab.common.graph.DotBackend which just checks the extension of the output file.

But it took me a long road to figure out how to even to trigger this problem. (It is deactivated either by "-E" or "-rn", which is not totally obvious from the documention; and I used these options because I was only interested in the dependency graph -- which makes sense to me).
I found someone on stackoverflow complaining about the same issue; so
I used his .pylintrc file and triggered another bug:

#!bash

IOError: [Errno 2] No such file or directory: '/home/<my_username>/~/~/gr.dot'

ihmo it proves that it is seldom used, and I would move it to Pyreverse ;)
(I was preparing to pull-request a small patch for #168, but then I remembered Pylint's graph generation...)


Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions