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

Explicitly export symbols in subpackages #3400

Merged
merged 2 commits into from
Aug 13, 2024

Conversation

hartungstenio
Copy link
Contributor

Without explicitly exporting those symbols, mypy strict linting fails on some projects.

This change solves this, and we don't need to ignore F401 (unused symbol) anymore on those files.


Thank you for contributing to sentry-python! Please add tests to validate your changes, and lint your code using tox -e linters.

Running the test suite on your PR might require maintainer approval. The AWS Lambda tests additionally require a maintainer to add a special label, and they will fail until this label is added.

Copy link

codecov bot commented Aug 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.73%. Comparing base (5529c70) to head (fc39e45).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3400      +/-   ##
==========================================
- Coverage   79.78%   79.73%   -0.06%     
==========================================
  Files         133      133              
  Lines       14418    14420       +2     
  Branches     3036     3036              
==========================================
- Hits        11504    11498       -6     
- Misses       2083     2096      +13     
+ Partials      831      826       -5     
Files Coverage Δ
sentry_sdk/integrations/grpc/aio/__init__.py 100.00% <100.00%> (ø)
sentry_sdk/integrations/opentelemetry/__init__.py 100.00% <100.00%> (ø)

... and 4 files with indirect coverage changes

Copy link
Contributor

@sentrivana sentrivana left a comment

Choose a reason for hiding this comment

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

Thank you @hartungstenio!

@sentrivana sentrivana added the Trigger: tests using secrets PR code is safe; run CI label Aug 13, 2024
@sentrivana sentrivana enabled auto-merge (squash) August 13, 2024 14:14
@sentrivana sentrivana merged commit fc2d250 into getsentry:master Aug 13, 2024
125 of 127 checks passed
arjennienhuis pushed a commit to arjennienhuis/sentry-python that referenced this pull request Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Trigger: tests using secrets PR code is safe; run CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants