glato / emerge

Emerge is a browser-based interactive codebase and dependency visualization tool for many different programming languages. It supports some basic code quality and graph metrics and provides a simple and intuitive way to explore and analyze a codebase by using graph structures.
MIT License
818 stars 49 forks source link

Add ignore rule for __pycache__ directories in default python template #43

Closed tonysyu closed 1 year ago

tonysyu commented 1 year ago

This is a very simple change, but basically the __pycache__ directory should be ignored by default for python projects. This is most noticeable looking at the filesystem graph for a python project, which will contain directories as leaf-nodes (since none of the files in that directory have a .py extension). Here's an example running emerge on the emerge repo without this ignore rule:

image

Note that all the blue leaf nodes in this image are from __pycache__ directories.

glato commented 1 year ago

@tonysyu Again: thanks for another useful addition like this. That really motivates to keep working on this project 😉. Will create a new release including all your fixes and additions soon 🚀.