Skip to content

🐛 improve type annotations to fix mypy issues#796

Merged
yezz123 merged 2 commits intomainfrom
fix-mypy
Feb 10, 2026
Merged

🐛 improve type annotations to fix mypy issues#796
yezz123 merged 2 commits intomainfrom
fix-mypy

Conversation

@yezz123
Copy link
Copy Markdown
Owner

@yezz123 yezz123 commented Feb 10, 2026

  • Bump anyio version to 4.12.1 and update related sdist and wheel URLs.
  • Add new package annotated-doc version 0.0.4 with its sdist and wheel details.
  • Update authx type definitions to use Protocol for TokenCallback and ModelCallback.
  • Enhance type safety with cast in _CallbackHandler methods.
  • Add upload times for several packages in the lock file.

- Bump `anyio` version to 4.12.1 and update related sdist and wheel URLs.
- Add new package `annotated-doc` version 0.0.4 with its sdist and wheel details.
- Update `authx` type definitions to use `Protocol` for `TokenCallback` and `ModelCallback`.
- Enhance type safety with `cast` in `_CallbackHandler` methods.
- Add upload times for several packages in the lock file.
@vercel
Copy link
Copy Markdown

vercel bot commented Feb 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
authx Ready Ready Preview, Comment Feb 10, 2026 0:13am

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 10, 2026

Codecov Report

❌ Patch coverage is 84.61538% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 96.45%. Comparing base (20c54fb) to head (0ef2e17).
⚠️ Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
authx/types.py 75.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #796      +/-   ##
==========================================
- Coverage   96.67%   96.45%   -0.22%     
==========================================
  Files          16       16              
  Lines         841      846       +5     
  Branches       90       90              
==========================================
+ Hits          813      816       +3     
- Misses         21       23       +2     
  Partials        7        7              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Feb 10, 2026

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

@yezz123 yezz123 merged commit 8bb33c7 into main Feb 10, 2026
19 of 21 checks passed
@yezz123 yezz123 deleted the fix-mypy branch February 10, 2026 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant