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

Add __main__.py to enable python -m pypinfo #156

Merged
merged 4 commits into from
Feb 24, 2024
Merged

Conversation

hugovk
Copy link
Collaborator

@hugovk hugovk commented Feb 24, 2024

This allows you to easily specify which interpreter to use:

pypinfo --percent -d 1 pillow
python -m pypinfo --percent -d 1 pillow
python3.11 -m pypinfo --percent -d 1 pillow

Copy link

codecov bot commented Feb 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (792a4ef) to head (b58c1cd).

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #156   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            6         6           
  Lines          546       546           
  Branches        74        74           
=========================================
  Hits           546       546           
Flag Coverage Δ
macOS-latest 100.00% <ø> (ø)
ubuntu-latest 100.00% <ø> (ø)
windows-latest 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Owner

@ofek ofek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely an oversight, thank you!

@hugovk hugovk merged commit 7a1c53c into ofek:master Feb 24, 2024
18 checks passed
@hugovk hugovk deleted the add-__main__ branch February 24, 2024 17:25
REestwick pushed a commit to REestwick/pypinfo that referenced this pull request Apr 1, 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 this pull request may close these issues.

2 participants