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

Unify report with report-external; incorporate module tree information #444

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

emdoyle
Copy link
Member

@emdoyle emdoyle commented Nov 28, 2024

Fixes: #385

Examples:

> tach report python/tach/sync.py --raw               
# Module Dependencies
tach.errors
tach.extension
tach.filesystem
# Module Usages
tach.cli
# External Dependencies
tomli
tomli-w
> tach report python/tach/sync.py --dependencies --usages
[ Dependency Report for 'python/tach/sync.py' ]
-------------------------------
[ Dependencies of 'python/tach/sync.py' ]
python/tach/sync.py[L8]: Import 'tach.errors'
python/tach/sync.py[L9]: Import 'tach.filesystem'
python/tach/sync.py[L11]: Import 'tach.extension.sync_project'
python/tach/sync.py[L13]: Import 'tach.filesystem.get_project_config_path'
-------------------------------
[ Usages of 'python/tach/sync.py' ]
python/tach/cli.py[L37]: Import 'tach.sync.sync_project'
-------------------------------
> tach report python/tach/sync.py --external             
[ External Dependencies in 'python/tach/sync.py' ]
--------------------------------------------------
python/tach/sync.py[L5]: Import 'tomli' from package 'tomli'
python/tach/sync.py[L6]: Import 'tomli_w' from package 'tomli-w'
tach report python/tach/sync.py           
[ Dependency Report for 'python/tach/sync.py' ]
-------------------------------
[ Dependencies of 'python/tach/sync.py' ]
python/tach/sync.py[L8]: Import 'tach.errors'
python/tach/sync.py[L9]: Import 'tach.filesystem'
python/tach/sync.py[L11]: Import 'tach.extension.sync_project'
python/tach/sync.py[L13]: Import 'tach.filesystem.get_project_config_path'
-------------------------------
[ Usages of 'python/tach/sync.py' ]
python/tach/cli.py[L37]: Import 'tach.sync.sync_project'
-------------------------------

[ External Dependencies in 'python/tach/sync.py' ]
--------------------------------------------------
python/tach/sync.py[L5]: Import 'tomli' from package 'tomli'
python/tach/sync.py[L6]: Import 'tomli_w' from package 'tomli-w'

@emdoyle emdoyle merged commit 2415b54 into main Nov 28, 2024
7 checks passed
@emdoyle emdoyle deleted the unify-reports branch November 28, 2024 00:19
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 this pull request may close these issues.

unify report-external and report interfaces
1 participant