-
Notifications
You must be signed in to change notification settings - Fork 670
Enable mypy type checking and add type hints to gitlab/base.py #1299
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again @JohnVillalovos. Maybe this could be added to CI as well then, e.g. with the lint jobs:
python-gitlab/.github/workflows/lint.yml
Line 14 in bec2094
jobs: |
Although the test workflows might give you an idea on how to add tox.
Codecov Report
@@ Coverage Diff @@
## master #1299 +/- ##
==========================================
+ Coverage 80.76% 80.78% +0.02%
==========================================
Files 69 69
Lines 3623 3628 +5
==========================================
+ Hits 2926 2931 +5
Misses 697 697
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a left a few more comments on the CI/tox setup, not sure if this is still WIP or if the file list is complete :)
I think I have done all the requested changes and I believe it is ready for review now. Thanks. |
Add an initial mypy test to test gitlab/base.py and gitlab/__init__.py
Rebased to fix merge conflicts |
Woo hoo, merged! 🙂 Thanks! |
Add an initial mypy test to test gitlab/base.py and gitlab/init.py