MyST-Parser icon indicating copy to clipboard operation
MyST-Parser copied to clipboard

use pathlib

Open danieleades opened this issue 1 year ago • 2 comments

danieleades avatar Jan 26 '24 14:01 danieleades

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 90.06%. Comparing base (e74769c) to head (cb24054).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #864   +/-   ##
=======================================
  Coverage   90.06%   90.06%           
=======================================
  Files          24       24           
  Lines        3372     3372           
=======================================
  Hits         3037     3037           
  Misses        335      335           
Flag Coverage Δ
pytests 90.06% <ø> (ø)

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

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

codecov-commenter avatar Mar 26 '24 02:03 codecov-commenter

heya @danieleades do you wanna fix the last few lints?:

myst_parser/inventory.py:410:10: PTH123 `open()` should be replaced by `Path.open()`
myst_parser/inventory.py:471:14: PTH123 `open()` should be replaced by `Path.open()`
myst_parser/mdit_to_docutils/base.py:1211:17: PTH118 `os.path.join()` should be replaced by `Path` with `/` operator
myst_parser/mdit_to_docutils/sphinx_.py:68:17: PTH118 `os.path.join()` should be replaced by `Path` with `/` operator

chrisjsewell avatar Mar 26 '24 02:03 chrisjsewell