Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DRY options and args #227

Merged
merged 1 commit into from
Sep 18, 2020
Merged

DRY options and args #227

merged 1 commit into from
Sep 18, 2020

Conversation

ejether
Copy link
Contributor

@ejether ejether commented Sep 18, 2020

Somewhere along the line, I realised this would work. I like this better. It only declares each option/argument once then it is re-used as a decorator for each CLI function.

Somewhere along the line, I realised this would work. I like this better. It only declares each option/argument once then it is re-used as a decorator for each CLI function.
@codecov
Copy link

codecov bot commented Sep 18, 2020

Codecov Report

Merging #227 into master will increase coverage by 0.11%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #227      +/-   ##
==========================================
+ Coverage   78.01%   78.13%   +0.11%     
==========================================
  Files          20       20              
  Lines        1651     1660       +9     
==========================================
+ Hits         1288     1297       +9     
  Misses        363      363              
Impacted Files Coverage Δ
reckoner/cli.py 76.98% <100.00%> (+0.85%) ⬆️

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 dbcd7ce...c9bb6ff. Read the comment docs.

@ejether ejether merged commit 3a79018 into master Sep 18, 2020
@ejether ejether deleted the ejether/dry-options-and-args branch September 18, 2020 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants