Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

fix: argument type was not a tuple as expected#1399

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
max-wittig merged 1 commit intopython-gitlab:masterfromJohnVillalovos:jlvillal/fix_custom_action
Apr 19, 2021
Merged

fix: argument type was not a tuple as expected#1399

max-wittig merged 1 commit intopython-gitlab:masterfromJohnVillalovos:jlvillal/fix_custom_action
Apr 19, 2021

Conversation

JohnVillalovos
Copy link
Member

While adding type-hints mypy flagged this as an issue. The third
argument to register_custom_action is supposed to be a tuple. It was
being passed as a string rather than a tuple of strings.

While adding type-hints mypy flagged this as an issue. The thirdargument to register_custom_action is supposed to be a tuple. It wasbeing passed as a string rather than a tuple of strings.
@codecov-commenter
Copy link

Codecov Report

Merging#1399 (062f8f6) intomaster (916a7fe) willnot change coverage.
The diff coverage is100.00%.

Impacted file tree graph

@@           Coverage Diff           @@##           master    #1399   +/-   ##=======================================  Coverage   80.16%   80.16%           =======================================  Files          73       73             Lines        4073     4073           =======================================  Hits         3265     3265             Misses        808      808
FlagCoverage Δ
unit80.16% <100.00%> (ø)

Flags with carried forward coverage won't be shown.Click here to find out more.

Impacted FilesCoverage Δ
gitlab/v4/objects/merge_requests.py65.45% <100.00%> (ø)

Continue to review full report at Codecov.

Legend -Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered byCodecov. Last update916a7fe...062f8f6. Read thecomment docs.

@max-wittig
Copy link
Member

That mistake happens too often in Python 😄

LGTM 👍

@max-wittigmax-wittig merged commitfc4f7fd intopython-gitlab:masterApr 19, 2021
@JohnVillalovos
Copy link
MemberAuthor

That mistake happens too often in Python 😄

One of the things I like with adding the static type-hints and then using mypy. That is how I caught this one. May find more issues as more and more type-hints are added.

@JohnVillalovosJohnVillalovos deleted the jlvillal/fix_custom_action branchApril 20, 2021 16:03
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@JohnVillalovos@codecov-commenter@max-wittig

[8]ページ先頭

©2009-2025 Movatter.jp