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

Enable Pylint warnings #1295

Open
8 of 38 tasks
kain88-de opened this issue Apr 9, 2017 · 8 comments
Open
8 of 38 tasks

Enable Pylint warnings #1295

kain88-de opened this issue Apr 9, 2017 · 8 comments

Comments

@kain88-de
Copy link
Member

kain88-de commented Apr 9, 2017

This is a list of good sounding pylint warnings we might want to enable

@orbeckst
Copy link
Member

We have been linting for a while. Can we close this issue?

@kain88-de
Copy link
Member Author

we haven't enabled all of them. For example I would like to enable unused import or bad super call to find more code pieces that could need work. I never found the time. This is a good issue for hacktober fest. Just enable a single lint option and fix all the warnings. We can have a PR for every option enabled.

Not all will make sense though. unused argument could cause trouble because our API doesn't use all variables for all sub-classes.

@orbeckst
Copy link
Member

Then we keep this issue open as a master issue and create new ones for individual linter warnings, similar to what we've been doing with testing of exceptions.

@aditi2906
Copy link
Contributor

@orbeckst @kain88-de I am willing to initiate work on this issue. I wanted to know if we can configure the prospector tool under this issue since we can get to manipulate the strictness?

@orbeckst
Copy link
Member

What is the "prospector tool"? Can you elaborate? Explain what you want to do, include links as relevant.

@kumarvaastavi
Copy link

Are the warnings unused import and unused variable still open, can I work on them?

@orbeckst
Copy link
Member

Are the warnings unused import and unused variable still open, can I work on them?

I think so. Create a PR, enable the warnings, and then start fixing them. When you open your PR, mention this issue (#1295) in the description so that we see it here. In general we don't "reserve" work but simply look at the first PR that comes in. Nevertheless, communicating with each other is good (like you did), especially when coming new into a project.

Note that there's a closed PR #4111 where someone else attempted work — I'd suggest to also look at that PR to learn from it.

@kumarvaastavi
Copy link

kumarvaastavi commented Oct 27, 2023

I will try fixing them and open PR as you said

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants