12rambau / pytest-copie

The pytest plugin for your copier templates 📒
https://pytest-copie.readthedocs.io/en/latest/
MIT License
14 stars 2 forks source link

fix: accept all alternative extentions for copier.yaml #51

Closed 12rambau closed 8 months ago

12rambau commented 9 months ago

Fix #50

I try to detect any "copier" file with a yaml-like extension. My guess is that there should be only one so if multiple exist I take the first one.

@GenevieveBuckley do you think it's enough to solve the issue you raised?

codecov[bot] commented 9 months ago

Codecov Report

Merging #51 (44b985a) into main (60cd943) will decrease coverage by 2.60%. Report is 2 commits behind head on main. The diff coverage is 60.00%.

@@            Coverage Diff             @@
##             main      #51      +/-   ##
==========================================
- Coverage   98.59%   96.00%   -2.60%     
==========================================
  Files           2        2              
  Lines          71       75       +4     
==========================================
+ Hits           70       72       +2     
- Misses          1        3       +2     
Files Coverage Δ
pytest_copie/plugin.py 95.83% <60.00%> (-2.70%) :arrow_down:
GenevieveBuckley commented 8 months ago

Looks great, thank you!