andreoliwa / logseq-doctor

Heal your Markdown files: convert to outline, list tasks and more tools to come
MIT License
44 stars 5 forks source link

feat: tidy up files by removing empty bullets #63

Closed andreoliwa closed 1 year ago

andreoliwa commented 1 year ago

The following issues are fixed by this pull request: Fix #56

Proposed changes

  1. Add the tidy up command with one cleanup: empty bullets at any block level.

Checklist

codecov[bot] commented 1 year ago

Codecov Report

Merging #63 (21e21ff) into master (3905e11) will increase coverage by 1.25%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #63      +/-   ##
==========================================
+ Coverage   93.61%   94.87%   +1.25%     
==========================================
  Files           4        6       +2     
  Lines          94      117      +23     
  Branches        6        7       +1     
==========================================
+ Hits           88      111      +23     
  Misses          5        5              
  Partials        1        1              
Impacted Files Coverage Δ
src/logseq_doctor/cli.py 94.11% <100.00%> (+6.61%) :arrow_up:
src/logseq_doctor/constants.py 100.00% <100.00%> (ø)
tests/test_outline.py 94.59% <100.00%> (ø)
tests/test_tidy_up.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.