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: correct some type-hints in gitlab/mixins.py#1398

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/mypy_mixins
Apr 20, 2021
Merged

fix: correct some type-hints in gitlab/mixins.py#1398

max-wittig merged 1 commit intopython-gitlab:masterfromJohnVillalovos:jlvillal/mypy_mixins
Apr 20, 2021

Conversation

JohnVillalovos
Copy link
Member

Commitbaea721 introduced type-hints
for gitlab/mixins.py.

After starting to add type-hints to gitlab/v4/objects/users.py
discovered a few errors.

Main error was using '=' instead of ':'. For example:
_parent = Optional[...] should be _parent: Optional[...]

Resolved those issues.

Commitbaea721 introduced type-hintsfor gitlab/mixins.py.After starting to add type-hints to gitlab/v4/objects/users.pydiscovered a few errors.Main error was using '=' instead of ':'. For example:  _parent = Optional[...] should be _parent: Optional[...]Resolved those issues.
@codecov-commenter
Copy link

codecov-commenter commentedApr 18, 2021
edited
Loading

Codecov Report

Merging#1398 (8bd3124) intomaster (916a7fe) willdecrease coverage by0.02%.
The diff coverage is92.30%.

Impacted file tree graph

@@            Coverage Diff             @@##           master    #1398      +/-   ##==========================================- Coverage   80.16%   80.13%   -0.03%==========================================  Files          73       73                Lines        4073     4077       +4     ==========================================+ Hits         3265     3267       +2- Misses        808      810       +2
FlagCoverage Δ
unit80.13% <92.30%> (-0.03%)⬇️

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

Impacted FilesCoverage Δ
gitlab/mixins.py77.22% <92.30%> (-0.26%)⬇️

Continue to review full report at Codecov.

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

@max-wittig
Copy link
Member

Thanks for the fixes. That makes much more sense now 😄

JohnVillalovos reacted with laugh emoji

@max-wittigmax-wittig merged commit5b18d20 intopython-gitlab:masterApr 20, 2021
@JohnVillalovosJohnVillalovos deleted the jlvillal/mypy_mixins branchApril 20, 2021 16:04
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