snakemake / snakefmt

The uncompromising Snakemake code formatter
MIT License
153 stars 29 forks source link

Release 0.4.1 #107

Closed bricoletc closed 3 years ago

bricoletc commented 3 years ago

Fixes two bugs (see below).

One point for discussion is it does not fix #104 and #105 whereby empty input: is not allowed by us; i don't think it's technically allowed by snakemake grammar either, but is allowed in practice. Not sure what to do there.

Fixed

codecov[bot] commented 3 years ago

Codecov Report

Merging #107 (2ee907b) into master (4180e77) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #107   +/-   ##
=======================================
  Coverage   98.09%   98.09%           
=======================================
  Files          12       12           
  Lines         944      945    +1     
  Branches      172      173    +1     
=======================================
+ Hits          926      927    +1     
  Misses         10       10           
  Partials        8        8           
Flag Coverage Δ
unittests 98.09% <100.00%> (+<0.01%) :arrow_up:

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

Impacted Files Coverage Δ
snakefmt/parser/parser.py 96.42% <100.00%> (ø)
snakefmt/parser/syntax.py 98.88% <100.00%> (+<0.01%) :arrow_up:
mbhall88 commented 3 years ago

Great work!