We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thanks for this wonderful tool!
I noticed the order of edges in the output dot file is not reproducible between different calls when several source files are provided.
A quick fix would be to update writer.py:58 so that instead of:
writer.py:58
for edge in self.graph.edges:
We had:
for edge in sorted(self.graph.edges, key=lambda x: (x.source.id, x.target.id)):
That would let us use pyan in a git precommit hook, as it would not introduce spurious and unnecessary changes in the git diff.
pyan
I can make the PR, just let me know.
The text was updated successfully, but these errors were encountered:
Make edge order reproducible between calls, see Technologicat#77
5283e48
Successfully merging a pull request may close this issue.
Thanks for this wonderful tool!
I noticed the order of edges in the output dot file is not reproducible between different calls when several source files are provided.
A quick fix would be to update
writer.py:58
so that instead of:We had:
That would let us use
pyan
in a git precommit hook, as it would not introduce spurious and unnecessary changes in the git diff.I can make the PR, just let me know.
The text was updated successfully, but these errors were encountered: