Skip to content

fix: allow multiline deprecation message#28

Merged
ilia-kats merged 2 commits intomainfrom
pa/multiline-deprecation
May 8, 2026
Merged

fix: allow multiline deprecation message#28
ilia-kats merged 2 commits intomainfrom
pa/multiline-deprecation

Conversation

@flying-sheep
Copy link
Copy Markdown
Member

@flying-sheep flying-sheep commented May 8, 2026

Fixes #27

@codecov
Copy link
Copy Markdown

codecov Bot commented May 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.50%. Comparing base (e37825c) to head (e5ec4f4).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #28      +/-   ##
==========================================
+ Coverage   97.47%   97.50%   +0.02%     
==========================================
  Files           5        5              
  Lines         238      240       +2     
==========================================
+ Hits          232      234       +2     
  Misses          6        6              
Files with missing lines Coverage Δ
src/scverse_misc/_deprecated.py 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Collaborator

@ilia-kats ilia-kats left a comment

Choose a reason for hiding this comment

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

Thanks! That was not a usecase I considered, I assumed the message would always be short and to the point.

@ilia-kats ilia-kats merged commit 89c0035 into main May 8, 2026
9 checks passed
@ilia-kats ilia-kats deleted the pa/multiline-deprecation branch May 8, 2026 09:23
@flying-sheep
Copy link
Copy Markdown
Member Author

flying-sheep commented May 8, 2026

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.

deprecated creates bad docstring when passed a multiline message

2 participants