Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

refactor!(cmd): Keyword-only params #366

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

Merged
merged 1 commit into from
May 30, 2022
Merged

refactor!(cmd): Keyword-only params #366

merged 1 commit into from
May 30, 2022

Conversation

tony
Copy link
Member

@tony tony commented May 30, 2022

Since libvcs is <1.0, lets clamp down on positional arguments
until things are stable. Positional arguments are great, when
there's a high degree of confidence in the first arg.

We're not 100% on these as we're stubbing out endpoints rapidly at this
juncture.

See also: https://docs.python.org/3.8/whatsnew/3.8.html#positional-only-parameters

Since libvcs is <1.0, lets clamp down on positional arguments
until things are stable. Positional arguments are great, when
there's a high degree of confidence in the first arg.

We're not 100% on these as we're stubbing out endpoints rapidly at this
juncture.

See also:
- https://docs.python.org/3.8/whatsnew/3.8.html#positional-only-parameters
- https://peps.python.org/pep-0570/
@codecov
Copy link

codecov bot commented May 30, 2022

Codecov Report

Merging #366 (35adcb6) into master (ae873e9) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #366   +/-   ##
=======================================
  Coverage   70.26%   70.26%           
=======================================
  Files          21       21           
  Lines        1860     1860           
=======================================
  Hits         1307     1307           
  Misses        553      553           
Impacted Files Coverage Δ
libvcs/cmd/git.py 54.16% <100.00%> (ø)
libvcs/cmd/hg.py 69.73% <100.00%> (ø)
libvcs/cmd/svn.py 52.23% <100.00%> (ø)

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 ae873e9...35adcb6. Read the comment docs.

@tony tony added this to the v0.13 milestone May 30, 2022
@tony tony merged commit 5d6c06b into master May 30, 2022
@tony tony deleted the cmd-kwonly branch May 30, 2022 17:05
tony added a commit that referenced this pull request May 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.