snakemake / snakefmt

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

feat: add template_engine keyword from Snakemake 7.0 #137

Closed johanneskoester closed 2 years ago

mbhall88 commented 2 years ago

When was template_engine added? i.e., what snakemake version?

johanneskoester commented 2 years ago

When was template_engine added? i.e., what snakemake version?

Snakemake 7.0

mbhall88 commented 2 years ago

Ah ok. This is going to mean we also have to bump our minimum supported python version to 3.7.

codecov[bot] commented 2 years ago

Codecov Report

Merging #137 (5facc7b) into dev (fbe584d) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##              dev     #137   +/-   ##
=======================================
  Coverage   98.20%   98.20%           
=======================================
  Files          12       12           
  Lines         948      949    +1     
  Branches      173      211   +38     
=======================================
+ Hits          931      932    +1     
  Misses         10       10           
  Partials        7        7           
Flag Coverage Δ
unittests 98.10% <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/grammar.py 100.00% <ø> (ø)
snakefmt/config.py 100.00% <100.00%> (ø)
snakefmt/__init__.py 100.00% <0.00%> (ø)