Skip to content
New issue

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

"tach show" duplicates module paths #248

Closed
rshindo opened this issue Aug 17, 2024 · 0 comments · Fixed by #249
Closed

"tach show" duplicates module paths #248

rshindo opened this issue Aug 17, 2024 · 0 comments · Fixed by #249

Comments

@rshindo
Copy link
Contributor

rshindo commented Aug 17, 2024

When generating a dot file with tach show, lines marked as deprecated are duplicated in addition to the module paths.

Versions

  • tach 0.10.0
  • Python 3.10.13

Actual

strict digraph  {
tach;
"tach.__main__";
"tach.cache";
"tach.check";
"tach.check_external";
"tach.cli";
"tach.colors";
"tach.constants";
"tach.core";
"tach.errors";
"tach.extension";
"tach.filesystem";
"tach.filesystem.git_ops";
"tach.hooks";
"tach.interactive";
"tach.logging";
"tach.mod";
"tach.parsing";
"tach.report";
"tach.show";
"tach.start";
"tach.sync";
"tach.test";
"tach.utils";
"path='tach.start' deprecated=False";
"path='tach' deprecated=False";
"path='tach.filesystem' deprecated=False";
"path='tach.errors' deprecated=False";
"path='tach.extension' deprecated=False";
"path='tach.parsing' deprecated=False";
"path='tach.utils' deprecated=False";
"path='tach.cache' deprecated=False";
"path='tach.check' deprecated=False";
"path='tach.check_external' deprecated=False";
"path='tach.colors' deprecated=False";
"path='tach.constants' deprecated=False";
"path='tach.core' deprecated=False";
"path='tach.logging' deprecated=False";
"path='tach.mod' deprecated=False";
"path='tach.report' deprecated=False";
"path='tach.show' deprecated=False";
"path='tach.sync' deprecated=False";
"path='tach.test' deprecated=False";
"path='tach.hooks' deprecated=False";
"path='tach.interactive' deprecated=False";
"path='tach.cli' deprecated=False";
"path='tach.filesystem.git_ops' deprecated=False";
"tach.__main__" -> "path='tach.start' deprecated=False";
"tach.cache" -> "path='tach' deprecated=False";
"tach.cache" -> "path='tach.filesystem' deprecated=False";
"tach.check" -> "path='tach.errors' deprecated=False";
"tach.check" -> "path='tach.extension' deprecated=False";
"tach.check" -> "path='tach.filesystem' deprecated=False";
"tach.check" -> "path='tach.parsing' deprecated=False";
"tach.check_external" -> "path='tach.extension' deprecated=False";
"tach.check_external" -> "path='tach.utils' deprecated=False";
"tach.cli" -> "path='tach' deprecated=False";
"tach.cli" -> "path='tach.cache' deprecated=False";
"tach.cli" -> "path='tach.check' deprecated=False";
"tach.cli" -> "path='tach.check_external' deprecated=False";
"tach.cli" -> "path='tach.colors' deprecated=False";
"tach.cli" -> "path='tach.constants' deprecated=False";
"tach.cli" -> "path='tach.core' deprecated=False";
"tach.cli" -> "path='tach.errors' deprecated=False";
"tach.cli" -> "path='tach.extension' deprecated=False";
"tach.cli" -> "path='tach.filesystem' deprecated=False";
"tach.cli" -> "path='tach.logging' deprecated=False";
"tach.cli" -> "path='tach.mod' deprecated=False";
"tach.cli" -> "path='tach.parsing' deprecated=False";
"tach.cli" -> "path='tach.report' deprecated=False";
"tach.cli" -> "path='tach.show' deprecated=False";
"tach.cli" -> "path='tach.sync' deprecated=False";
"tach.cli" -> "path='tach.test' deprecated=False";
"tach.cli" -> "path='tach.utils' deprecated=False";
"tach.core" -> "path='tach.constants' deprecated=False";
"tach.filesystem" -> "path='tach.colors' deprecated=False";
"tach.filesystem" -> "path='tach.constants' deprecated=False";
"tach.filesystem" -> "path='tach.core' deprecated=False";
"tach.filesystem" -> "path='tach.errors' deprecated=False";
"tach.filesystem" -> "path='tach.hooks' deprecated=False";
"tach.filesystem.git_ops" -> "path='tach.errors' deprecated=False";
"tach.hooks" -> "path='tach.constants' deprecated=False";
"tach.interactive" -> "path='tach.errors' deprecated=False";
"tach.interactive" -> "path='tach.filesystem' deprecated=False";
"tach.logging" -> "path='tach' deprecated=False";
"tach.logging" -> "path='tach.cache' deprecated=False";
"tach.logging" -> "path='tach.parsing' deprecated=False";
"tach.mod" -> "path='tach.colors' deprecated=False";
"tach.mod" -> "path='tach.errors' deprecated=False";
"tach.mod" -> "path='tach.filesystem' deprecated=False";
"tach.mod" -> "path='tach.interactive' deprecated=False";
"tach.mod" -> "path='tach.parsing' deprecated=False";
"tach.parsing" -> "path='tach.constants' deprecated=False";
"tach.parsing" -> "path='tach.core' deprecated=False";
"tach.parsing" -> "path='tach.errors' deprecated=False";
"tach.parsing" -> "path='tach.extension' deprecated=False";
"tach.parsing" -> "path='tach.filesystem' deprecated=False";
"tach.report" -> "path='tach.colors' deprecated=False";
"tach.report" -> "path='tach.errors' deprecated=False";
"tach.report" -> "path='tach.extension' deprecated=False";
"tach.report" -> "path='tach.filesystem' deprecated=False";
"tach.report" -> "path='tach.utils' deprecated=False";
"tach.start" -> "path='tach.cli' deprecated=False";
"tach.sync" -> "path='tach.check' deprecated=False";
"tach.sync" -> "path='tach.core' deprecated=False";
"tach.sync" -> "path='tach.errors' deprecated=False";
"tach.sync" -> "path='tach.filesystem' deprecated=False";
"tach.sync" -> "path='tach.parsing' deprecated=False";
"tach.test" -> "path='tach.errors' deprecated=False";
"tach.test" -> "path='tach.extension' deprecated=False";
"tach.test" -> "path='tach.filesystem' deprecated=False";
"tach.test" -> "path='tach.filesystem.git_ops' deprecated=False";
"tach.test" -> "path='tach.parsing' deprecated=False";
}

Expected

strict digraph  {
tach;
"tach.__main__";
"tach.cache";
"tach.check";
"tach.check_external";
"tach.cli";
"tach.colors";
"tach.constants";
"tach.core";
"tach.errors";
"tach.extension";
"tach.filesystem";
"tach.filesystem.git_ops";
"tach.hooks";
"tach.interactive";
"tach.logging";
"tach.mod";
"tach.parsing";
"tach.report";
"tach.show";
"tach.start";
"tach.sync";
"tach.test";
"tach.utils";
"tach.__main__" -> "tach.start";
"tach.cache" -> tach;
"tach.cache" -> "tach.filesystem";
"tach.check" -> "tach.errors";
"tach.check" -> "tach.extension";
"tach.check" -> "tach.filesystem";
"tach.check" -> "tach.parsing";
"tach.check_external" -> "tach.extension";
"tach.check_external" -> "tach.utils";
"tach.cli" -> tach;
"tach.cli" -> "tach.cache";
"tach.cli" -> "tach.check";
"tach.cli" -> "tach.check_external";
"tach.cli" -> "tach.colors";
"tach.cli" -> "tach.constants";
"tach.cli" -> "tach.core";
"tach.cli" -> "tach.errors";
"tach.cli" -> "tach.extension";
"tach.cli" -> "tach.filesystem";
"tach.cli" -> "tach.logging";
"tach.cli" -> "tach.mod";
"tach.cli" -> "tach.parsing";
"tach.cli" -> "tach.report";
"tach.cli" -> "tach.show";
"tach.cli" -> "tach.sync";
"tach.cli" -> "tach.test";
"tach.cli" -> "tach.utils";
"tach.core" -> "tach.constants";
"tach.filesystem" -> "tach.colors";
"tach.filesystem" -> "tach.constants";
"tach.filesystem" -> "tach.core";
"tach.filesystem" -> "tach.errors";
"tach.filesystem" -> "tach.hooks";
"tach.filesystem.git_ops" -> "tach.errors";
"tach.hooks" -> "tach.constants";
"tach.interactive" -> "tach.errors";
"tach.interactive" -> "tach.filesystem";
"tach.logging" -> tach;
"tach.logging" -> "tach.cache";
"tach.logging" -> "tach.parsing";
"tach.mod" -> "tach.colors";
"tach.mod" -> "tach.errors";
"tach.mod" -> "tach.filesystem";
"tach.mod" -> "tach.interactive";
"tach.mod" -> "tach.parsing";
"tach.parsing" -> "tach.constants";
"tach.parsing" -> "tach.core";
"tach.parsing" -> "tach.errors";
"tach.parsing" -> "tach.extension";
"tach.parsing" -> "tach.filesystem";
"tach.report" -> "tach.colors";
"tach.report" -> "tach.errors";
"tach.report" -> "tach.extension";
"tach.report" -> "tach.filesystem";
"tach.report" -> "tach.utils";
"tach.start" -> "tach.cli";
"tach.sync" -> "tach.check";
"tach.sync" -> "tach.core";
"tach.sync" -> "tach.errors";
"tach.sync" -> "tach.filesystem";
"tach.sync" -> "tach.parsing";
"tach.test" -> "tach.errors";
"tach.test" -> "tach.extension";
"tach.test" -> "tach.filesystem";
"tach.test" -> "tach.filesystem.git_ops";
"tach.test" -> "tach.parsing";
}
rshindo added a commit to rshindo/tach that referenced this issue Aug 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant