Skip to content

Delay opening of config file to actual command execution#116

Merged
yarikoptic merged 1 commit intomasterfrom
delay-config
Jun 14, 2021
Merged

Delay opening of config file to actual command execution#116
yarikoptic merged 1 commit intomasterfrom
delay-config

Conversation

@jwodder
Copy link
Copy Markdown
Contributor

@jwodder jwodder commented Jun 14, 2021

This makes it possible to do tinuous fetch --help without a config file present.

@jwodder jwodder added the patch Increment the patch version when merged label Jun 14, 2021
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jun 14, 2021

Codecov Report

Merging #116 (269c43f) into master (95da3a3) will increase coverage by 27.83%.
The diff coverage is 46.15%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master     #116       +/-   ##
===========================================
+ Coverage   44.45%   72.29%   +27.83%     
===========================================
  Files           9       10        +1     
  Lines         893      906       +13     
  Branches      134      134               
===========================================
+ Hits          397      655      +258     
+ Misses        495      198      -297     
- Partials        1       53       +52     
Impacted Files Coverage Δ
src/tinuous/__main__.py 53.23% <46.15%> (+53.23%) ⬆️
src/tinuous/_version.py 100.00% <0.00%> (ø)
src/tinuous/util.py 86.36% <0.00%> (+6.81%) ⬆️
src/tinuous/config.py 92.63% <0.00%> (+18.94%) ⬆️
src/tinuous/github.py 51.00% <0.00%> (+20.50%) ⬆️
src/tinuous/base.py 87.30% <0.00%> (+25.39%) ⬆️
src/tinuous/travis.py 69.09% <0.00%> (+40.90%) ⬆️
src/tinuous/appveyor.py 77.38% <0.00%> (+45.23%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 95da3a3...269c43f. Read the comment docs.

@yarikoptic
Copy link
Copy Markdown
Member

I haven't tried, but the motivation sounds legit ;) thank you!

@yarikoptic yarikoptic merged commit 0c65e96 into master Jun 14, 2021
@yarikoptic yarikoptic deleted the delay-config branch June 14, 2021 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

patch Increment the patch version when merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants