Skip to content

Update type-hints #2159

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

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

chore: correct type-hints for `ban()` and `unban()`

00b3e26
Select commit
Loading
Failed to load commit list.
Draft

Update type-hints #2159

chore: correct type-hints for `ban()` and `unban()`
00b3e26
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Jul 9, 2025 in 0s

95.40% (-0.02%) compared to 9833632

View this Pull Request on Codecov

95.40% (-0.02%) compared to 9833632

Details

Codecov Report

Attention: Patch coverage is 96.42857% with 2 lines in your changes missing coverage. Please review.

Project coverage is 95.40%. Comparing base (9833632) to head (00b3e26).
Report is 778 commits behind head on main.

Files with missing lines Patch % Lines
gitlab/mixins.py 50.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2159      +/-   ##
==========================================
- Coverage   95.42%   95.40%   -0.02%     
==========================================
  Files          79       79              
  Lines        5198     5206       +8     
==========================================
+ Hits         4960     4967       +7     
- Misses        238      239       +1     
Files with missing lines Coverage Δ
gitlab/base.py 99.51% <100.00%> (+<0.01%) ⬆️
gitlab/cli.py 100.00% <100.00%> (ø)
gitlab/client.py 98.72% <100.00%> (+0.01%) ⬆️
gitlab/v4/objects/commits.py 94.80% <100.00%> (-0.07%) ⬇️
gitlab/v4/objects/deploy_keys.py 96.42% <100.00%> (ø)
gitlab/v4/objects/environments.py 100.00% <100.00%> (ø)
gitlab/v4/objects/groups.py 88.96% <ø> (-0.08%) ⬇️
gitlab/v4/objects/merge_requests.py 84.78% <100.00%> (-0.11%) ⬇️
gitlab/v4/objects/pipelines.py 94.44% <100.00%> (ø)
gitlab/v4/objects/projects.py 100.00% <100.00%> (ø)
... and 4 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.