Skip to content

chore: add initial pylint check #1729

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

Merged
merged 3 commits into from
Dec 7, 2021
Merged

chore: add initial pylint check #1729

merged 3 commits into from
Dec 7, 2021

Conversation

JohnVillalovos
Copy link
Member

Initial pylint check is added. A LONG list of disabled checks is also
added. In the future we should work through the list and resolve the
errors or disable them on a more granular level.

@codecov-commenter
Copy link

codecov-commenter commented Dec 5, 2021

Codecov Report

Merging #1729 (b67a6ad) into main (1c33080) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #1729      +/-   ##
==========================================
- Coverage   92.03%   92.03%   -0.01%     
==========================================
  Files          75       75              
  Lines        4683     4681       -2     
==========================================
- Hits         4310     4308       -2     
  Misses        373      373              
Flag Coverage Δ
cli_func_v4 81.45% <0.00%> (+0.03%) ⬆️
py_func_v4 81.07% <0.00%> (+0.03%) ⬆️
unit 83.20% <0.00%> (-0.01%) ⬇️

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

Impacted Files Coverage Δ
gitlab/v4/objects/merge_request_approvals.py 92.40% <ø> (-0.19%) ⬇️
gitlab/v4/objects/projects.py 87.19% <0.00%> (ø)

@JohnVillalovos JohnVillalovos force-pushed the jlvillal/pylint branch 10 times, most recently from de14dea to 5f35250 Compare December 7, 2021 18:51
@JohnVillalovos JohnVillalovos force-pushed the jlvillal/pylint branch 3 times, most recently from dde09fc to 168d2ab Compare December 7, 2021 22:17
Initial pylint check is added. A LONG list of disabled checks is also
added. In the future we should work through the list and resolve the
errors or disable them on a more granular level.
If .pre-commit-config.yaml or .github/workflows/pre_commit.yml are
updated then run pre-commit.
@JohnVillalovos JohnVillalovos force-pushed the jlvillal/pylint branch 7 times, most recently from cb61379 to 645ef1f Compare December 7, 2021 23:07
https://github.com/pre-commit/mirrors-mypy/blob/master/.pre-commit-hooks.yaml

Sets some default args which seem to be interfering with things. Plus
we set all of our args in the `pyproject.toml` file.
@nejch nejch merged commit 3a7d6f6 into main Dec 7, 2021
@nejch nejch deleted the jlvillal/pylint branch December 7, 2021 23:25
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