Technologicat / pyan

Static call graph generator. The official Python 3 version. Development repo.
GNU General Public License v2.0
329 stars 57 forks source link

Dash (-) in directory names is not escaped/quoted in DOT identifiers #71

Open torfsen opened 3 years ago

torfsen commented 3 years ago

pyan constructs the DOT identifiers using the filenames. If a directory name contains a dash (-) then that ends up in the DOT identifier. However, the DOT language does not allow that, unless the identifier is quoted. Hence the produced DOT file is invalid.

akashkvyas commented 1 year ago

Submitted a pull request that fixes this issue.