refactor: simplify code with pathlib Path object by bearomorphism · Pull Request #1840 · commitizen-tools/commitizen

@bearomorphism

@bearomorphism

@codecov

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.98%. Comparing base (bc1542c) to head (0fe602d).
⚠️ Report is 7 commits behind head on master.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1840      +/-   ##
==========================================
- Coverage   97.98%   97.98%   -0.01%     
==========================================
  Files          60       60              
  Lines        2686     2684       -2     
==========================================
- Hits         2632     2630       -2     
  Misses         54       54              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

noirbizarre

Choose a reason for hiding this comment

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

LGTM 🚀

[!NOTE}
I was intending to do the same and also switch from using all the legacy pytest path to pathlib too (pathlib everywhere would help a lot)

@bearomorphism

I was intending to do the same and also switch from using all the legacy pytest path to pathlib too (pathlib everywhere would help a lot)

Sounds good. This can be a good first issue.