Skip to content

Conversation

@JohnVillalovos
Copy link
Member

Don't allow a partially annotated function definition. Either none of
the function is annotated or all of it must be.

Update code to ensure no-more partially annotated functions.

Update gitlab/cli.py with better type-hints. Changed Tuple[Any, ...]
to Tuple[str, ...]

@JohnVillalovos JohnVillalovos marked this pull request as draft February 27, 2021 01:42
@codecov-io
Copy link

Codecov Report

Merging #1342 (a913d6f) into master (b0d75d9) will decrease coverage by 0.02%.
The diff coverage is 92.59%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1342      +/-   ##
==========================================
- Coverage   80.07%   80.04%   -0.03%     
==========================================
  Files          72       72              
  Lines        3764     3769       +5     
==========================================
+ Hits         3014     3017       +3     
- Misses        750      752       +2     
Flag Coverage Δ
unit 80.04% <92.59%> (-0.03%) ⬇️

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

Impacted Files Coverage Δ
gitlab/utils.py 71.42% <50.00%> (-2.11%) ⬇️
gitlab/base.py 83.57% <87.50%> (-0.26%) ⬇️
gitlab/cli.py 53.57% <100.00%> (ø)
gitlab/client.py 80.67% <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 b0d75d9...a913d6f. Read the comment docs.

Don't allow a partially annotated function definition. Either none of
the function is annotated or all of it must be.

Update code to ensure no-more partially annotated functions.

Update gitlab/cli.py with better type-hints. Changed Tuple[Any, ...]
to Tuple[str, ...]
@JohnVillalovos JohnVillalovos marked this pull request as ready for review February 28, 2021 17:14
@nejch nejch merged commit 5f23ed9 into python-gitlab:master Feb 28, 2021
@JohnVillalovos JohnVillalovos deleted the jlvillal/mypy_incomplete branch February 28, 2021 18:47
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.

3 participants