Skip to content

Remove internal traceback frames from exceptions raised within pytask. #204

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

Merged
merged 1 commit into from
Jan 26, 2022

Conversation

tobiasraabe
Copy link
Member

@tobiasraabe tobiasraabe commented Jan 25, 2022

Changes

Allows to raise exceptions, for example, in plugins and remove all traceback frames via __tracebackhide__.

@codecov
Copy link

codecov bot commented Jan 25, 2022

Codecov Report

Merging #204 (aa2d74d) into main (c883667) will decrease coverage by 0.03%.
The diff coverage is 33.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #204      +/-   ##
==========================================
- Coverage   92.82%   92.78%   -0.04%     
==========================================
  Files          75       75              
  Lines        6867     6872       +5     
==========================================
+ Hits         6374     6376       +2     
- Misses        493      496       +3     
Flag Coverage Δ
end_to_end 78.62% <33.33%> (-0.03%) ⬇️
integration 41.93% <33.33%> (-0.01%) ⬇️
unit 70.03% <33.33%> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/_pytask/build.py 88.70% <33.33%> (-4.28%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c883667...aa2d74d. Read the comment docs.

@tobiasraabe tobiasraabe added this to the v0.1.6 milestone Jan 25, 2022
@tobiasraabe tobiasraabe merged commit 42da034 into main Jan 26, 2022
@tobiasraabe tobiasraabe deleted the reduce-tracebacks-of-exc branch January 26, 2022 08:14
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