Skip to content

Add py.typed file to logfire-api - #379

Merged
alexmojaki merged 4 commits into
pydantic:mainfrom
jackmpcollins:add-logfire-api-py-typed-file
Aug 20, 2024
Merged

alexmojaki merged 4 commits into
pydantic:mainfrom
jackmpcollins:add-logfire-api-py-typed-file

Conversation

@jackmpcollins

Copy link
Copy Markdown
Contributor

Add a py.typed file to logfire-api so type hints are correctly resolved.

@Kludex

Kludex commented Aug 14, 2024

Copy link
Copy Markdown
Member

Does the rye generate-stubs command erases it?

@codecov

codecov Bot commented Aug 14, 2024 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (0a393f8) to head (1f51f7f).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #379   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          124       124           
  Lines         9178      9178           
  Branches      1196      1196           
=========================================
  Hits          9178      9178           

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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Does the rye generate-stubs command erases it?

It doesn't erase the py.typed file, but it did make changes here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Reverted now as it appears to make tests fail.

@alexmojaki alexmojaki left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks!

@alexmojaki
alexmojaki enabled auto-merge (squash) August 20, 2024 14:32
@alexmojaki
alexmojaki merged commit f2e87f3 into pydantic:main Aug 20, 2024
@jackmpcollins
jackmpcollins deleted the add-logfire-api-py-typed-file branch August 20, 2024 17:32
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.

3 participants