srstevenson / nb-clean

Clean Jupyter notebooks of outputs, metadata, and empty cells, with Git integration
https://pypi.org/project/nb-clean/
ISC License
131 stars 18 forks source link

Migrate to Poe the Poet and Ruff for checks #201

Closed srstevenson closed 11 months ago

srstevenson commented 11 months ago

As we use Poetry for virtual environment management, we don't require most of Nox's functionality. Poe the Poet runs more quickly, and requires fewer lines of configuration. Ruff provides a single tool which can replace flake8, pylint, pyupgrade, and isort, whilst running more quickly.

codecov[bot] commented 11 months ago

Codecov Report

Patch coverage: 100.00% and project coverage change: +1.13% :tada:

Comparison is base (e0c4222) 98.28% compared to head (747c694) 99.41%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #201 +/- ## ========================================== + Coverage 98.28% 99.41% +1.13% ========================================== Files 3 3 Lines 175 172 -3 ========================================== - Hits 172 171 -1 + Misses 3 1 -2 ``` | [Files Changed](https://app.codecov.io/gh/srstevenson/nb-clean/pull/201?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Scott+Stevenson) | Coverage Δ | | |---|---|---| | [src/nb\_clean/\_\_init\_\_.py](https://app.codecov.io/gh/srstevenson/nb-clean/pull/201?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Scott+Stevenson#diff-c3JjL25iX2NsZWFuL19faW5pdF9fLnB5) | `100.00% <100.00%> (ø)` | | | [src/nb\_clean/cli.py](https://app.codecov.io/gh/srstevenson/nb-clean/pull/201?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Scott+Stevenson#diff-c3JjL25iX2NsZWFuL2NsaS5weQ==) | `100.00% <100.00%> (ø)` | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/srstevenson/nb-clean/pull/201/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Scott+Stevenson)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.