Skip to content
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

Pylint #620

Closed
wants to merge 15 commits into from
Closed

Conversation

sejal-verma
Copy link

Description

Enables lints in setup.cfg

Issues Resolved

Enables remaining pylint defaults

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Enabled remaining pylint defaults

Signed-off-by: Sejal Verma <[email protected]>
@saimedhi
Copy link
Collaborator

@sejal-verma, DCO check is failing and also changelog entry is missing.

Copy link

codecov bot commented Nov 28, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (db61b59) 72.09% compared to head (9f5d289) 72.12%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #620      +/-   ##
==========================================
+ Coverage   72.09%   72.12%   +0.02%     
==========================================
  Files          89       89              
  Lines        7939     7939              
==========================================
+ Hits         5724     5726       +2     
+ Misses       2215     2213       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Enabled remaining pylint defaults

Signed-off-by: Sejal Verma <[email protected]>
Signed-off-by: Sejal <[email protected]>
Copy link
Member

@dblock dblock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Does this actually enable them? I don't believe so, or you would have found many violations - AFAIK those get put in [pylint.MESSAGE CONTROL]. Try adding one and see the errors when you rn nox -rs lint.
  2. Sign DCO with -s for your commits.

sejal-verma and others added 7 commits November 28, 2023 17:48
Signed-off-by: Sejal Verma <[email protected]>
Signed-off-by: Sejal Verma <[email protected]>
Signed-off-by: Sejal <[email protected]>

Signed-off-by: Sejal Verma <[email protected]>
Signed-off-by: Sejal <[email protected]>

Signed-off-by: Sejal Verma <[email protected]>
Enabled remaining pylint defaults

Signed-off-by: Sejal <[email protected]>
Copy link
Member

@dblock dblock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can see why I didn't enable all these lints in the first place. Will you be fixing the thousands of errors? Maybe start with one?

@dblock
Copy link
Member

dblock commented Dec 12, 2023

Closing this, please reopen addressing #620 (review).

@dblock dblock closed this Dec 12, 2023
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