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 Target, Pass, and Round to top level namespace. #55

Merged
merged 2 commits into from
Jan 28, 2024
Merged

Conversation

jatkinson1000
Copy link
Owner

Closes #3

As proposed by @LiamPattinson it would simplify things if a few choice items are added to the top level namespace of archeryutils.

This PR adds the Target, Pass, and Round classes to archeryutils/__init__.py.

I think keeping handicaps and classifications as explicit imports is sensible as users either want these or not, and they are somewhat distinct.

Copy link

codecov bot commented Jan 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (8271915) 95.42% compared to head (3fa8398) 95.42%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #55   +/-   ##
=======================================
  Coverage   95.42%   95.42%           
=======================================
  Files          23       23           
  Lines        1311     1312    +1     
=======================================
+ Hits         1251     1252    +1     
  Misses         60       60           
Files Coverage Δ
archeryutils/__init__.py 100.00% <100.00%> (ø)

@jatkinson1000 jatkinson1000 merged commit 116992b into main Jan 28, 2024
11 checks passed
@jatkinson1000 jatkinson1000 deleted the imports branch January 28, 2024 14:50
@jatkinson1000 jatkinson1000 mentioned this pull request Jan 28, 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.

Simplify importing classes/functions
1 participant