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

Use postponed evaluation of annotations #380

Merged
merged 3 commits into from
Oct 14, 2023
Merged

Use postponed evaluation of annotations #380

merged 3 commits into from
Oct 14, 2023

Conversation

WhyNotHugo
Copy link
Member

@WhyNotHugo WhyNotHugo commented Oct 14, 2023

Allows using simpler-styled annotations and reduces some pointless runtime evaluation.

And import related features from __future__
@codecov
Copy link

codecov bot commented Oct 14, 2023

Codecov Report

Merging #380 (d265bbd) into main (5c0650b) will decrease coverage by 0.02%.
The diff coverage is 88.00%.

@@            Coverage Diff             @@
##             main     #380      +/-   ##
==========================================
- Coverage   78.55%   78.54%   -0.02%     
==========================================
  Files          29       29              
  Lines        1949     1976      +27     
  Branches      241      243       +2     
==========================================
+ Hits         1531     1552      +21     
- Misses        304      308       +4     
- Partials      114      116       +2     
Files Coverage Δ
payments/authorizenet/__init__.py 80.55% <100.00%> (+0.55%) ⬆️
payments/authorizenet/forms.py 68.00% <100.00%> (+1.33%) ⬆️
payments/braintree/__init__.py 81.48% <100.00%> (+0.71%) ⬆️
payments/braintree/forms.py 89.28% <100.00%> (+0.39%) ⬆️
payments/coinbase/__init__.py 94.54% <100.00%> (+0.10%) ⬆️
payments/cybersource/__init__.py 66.05% <100.00%> (+0.10%) ⬆️
payments/cybersource/forms.py 82.00% <100.00%> (+0.36%) ⬆️
payments/dotpay/__init__.py 87.17% <100.00%> (+0.33%) ⬆️
payments/dotpay/forms.py 92.18% <100.00%> (+0.12%) ⬆️
payments/dummy/__init__.py 86.27% <100.00%> (+0.27%) ⬆️
... and 19 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@WhyNotHugo
Copy link
Member Author

This also fixes some accidental breakage which resulted when merging #214

@WhyNotHugo WhyNotHugo merged commit c84fbc7 into main Oct 14, 2023
21 of 22 checks passed
@WhyNotHugo WhyNotHugo deleted the annotations branch October 14, 2023 09:49
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.

1 participant