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

Fix NewType token count for certain python versions. #265

Merged
merged 2 commits into from
Nov 28, 2024

Conversation

BrianPugh
Copy link
Owner

@BrianPugh BrianPugh commented Nov 28, 2024

token_count() now uses the resolved type; not sure why we were using the un-resolved type for some checks earlier.

Addresses #262

Copy link

codecov bot commented Nov 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.09%. Comparing base (8c403b5) to head (a1e5fc6).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #265   +/-   ##
=======================================
  Coverage   94.09%   94.09%           
=======================================
  Files          26       26           
  Lines        2981     2981           
  Branches      627      627           
=======================================
  Hits         2805     2805           
  Misses         84       84           
  Partials       92       92           
Flag Coverage Δ
unittests 94.09% <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.

@BrianPugh BrianPugh marked this pull request as ready for review November 28, 2024 19:15
@BrianPugh BrianPugh merged commit eb073c0 into main Nov 28, 2024
17 checks passed
@BrianPugh BrianPugh deleted the new-type-token-count branch November 28, 2024 19:16
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