Skip to content

chore: add initial pylint check - #1729

Merged
nejch merged 3 commits into
mainfrom
jlvillal/pylint
Dec 7, 2021
Merged

chore: add initial pylint check#1729
nejch merged 3 commits into
mainfrom
jlvillal/pylint

Conversation

@JohnVillalovos

Copy link
Copy Markdown
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

codecov-commenter commented Dec 5, 2021

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 92.03%. Comparing base (1c33080) to head (b67a6ad).
⚠️ Report is 1404 commits behind head on main.

Files with missing lines Patch % Lines
gitlab/v4/objects/projects.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            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.

Files with missing lines Coverage Δ
gitlab/v4/objects/merge_request_approvals.py 92.40% <ø> (-0.19%) ⬇️
gitlab/v4/objects/projects.py 87.19% <0.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread .github/workflows/lint.yml
Comment thread .pre-commit-config.yaml
@JohnVillalovos
JohnVillalovos force-pushed the jlvillal/pylint branch 10 times, most recently from de14dea to 5f35250 Compare December 7, 2021 18:51
Comment thread .pre-commit-config.yaml
@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