Skip to content

Add doctests to CI and fix existing failures - #133

Merged
djhoese merged 1 commit into
pytroll:mainfrom
djhoese:bugfix-doctests
Sep 11, 2026
Merged

djhoese merged 1 commit into
pytroll:mainfrom
djhoese:bugfix-doctests

Conversation

@djhoese

@djhoese djhoese commented Sep 8, 2026

Copy link
Copy Markdown
Member

Also adds more strict pytest settings (previously just defaults)

Written by Claude. Scrutinized by me.

  • Closes #xxxx
  • Tests added
  • Tests passed
  • Passes git diff origin/main **/*py | flake8 --diff
  • Fully documented

Also adds more strict pytest settings (previously just defaults)
@djhoese
djhoese requested a review from mraspaud September 8, 2026 14:22
@djhoese djhoese self-assigned this Sep 8, 2026
@djhoese djhoese added the bug label Sep 8, 2026
@codecov

codecov Bot commented Sep 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.58%. Comparing base (e74a0ef) to head (ec581f8).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #133      +/-   ##
==========================================
+ Coverage   89.04%   89.58%   +0.54%     
==========================================
  Files          20       20              
  Lines        1515     1517       +2     
==========================================
+ Hits         1349     1359      +10     
+ Misses        166      158       -8     
Flag Coverage Δ
unittests 89.58% <100.00%> (+0.54%) ⬆️

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

☔ 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.

@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 88.693% (+0.5%) from 88.176% — djhoese:bugfix-doctests into pytroll:main

@djhoese

djhoese commented Sep 11, 2026

Copy link
Copy Markdown
Member Author

This is a pretty obvious win. Merging as I don't see a reason to waste maintainer time reviewing it.

@djhoese
djhoese merged commit 9a793b3 into pytroll:main Sep 11, 2026
26 checks passed
@djhoese
djhoese deleted the bugfix-doctests branch September 11, 2026 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants