Skip to content

fix: fix warns catching and warns stacklevels#218

Merged
mdevolde merged 1 commit into
jxmorris12:masterfrom
mdevolde:fix/tests_warns
Jul 3, 2026
Merged

fix: fix warns catching and warns stacklevels#218
mdevolde merged 1 commit into
jxmorris12:masterfrom
mdevolde:fix/tests_warns

Conversation

@mdevolde

@mdevolde mdevolde commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

fix: fix warns catching and warns stacklevels

Why the pull request was made

To avoid non handled warnings in tests and CLI, and uncorrect stacklevels in warnings.

Summary of changes

Screenshots (if appropriate):

Not applicable.

How has this been tested?

Applied local tests, and with a small script, and CLI tests.

Resources

Not applicable.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update (changes to documentation only)
  • Refactor / code style update (non-breaking change that improves code structure or readability)
  • Tests / CI improvement (adding or updating tests or CI configuration only)
  • Chore / maintenance (non-breaking change that does not affect functionality, such as updating dependencies or fixing typos)
  • Other (please describe):

Checklist

  • Followed the project's contributing guidelines.
  • Updated any relevant tests.
  • Updated any relevant documentation.
  • Added comments to your code where necessary.
  • Formatted your code, run the linters, checked types and tests.
  • Added your changes to the CHANGELOG file, if applicable.

@mdevolde mdevolde self-assigned this Jul 3, 2026
Comment thread src/language_tool_python/_internals/utils.py Dismissed
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (106a6f2) to head (ae9f90b).
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #218   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           13        13           
  Lines         1740      1743    +3     
=========================================
+ Hits          1740      1743    +3     

☔ View full report in Codecov by Harness.
📢 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.

@mdevolde mdevolde merged commit f7df171 into jxmorris12:master Jul 3, 2026
13 checks passed
@mdevolde mdevolde deleted the fix/tests_warns branch July 3, 2026 22:13
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