-
Notifications
You must be signed in to change notification settings - Fork 17
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
Improve pylint compatibility #433
Comments
Hello everyone, Can I work on this issue? I realize that addressing over 9,000 wildcard import issues—and potentially many other linting problems—is a significant undertaking. However, I see this as a fantastic opportunity to deeply familiarize myself with the codebase. I’m committed to seeing this through. I am already familiar with Python, Git and Github. Understanding this codebase and eventually pySBOL2 would greatly help me when I start with utility function for converting between SBOL2 and SBOL3. Best regards, EDIT: After reviewing the specification of SBOL 3 (especially section 10:Mapping Between SBOL 1, SBOL 2, and SBOL 3), I’ve come to realize that understanding the specification itself, is far more valuable than the Python implementation. However, I’m still interested in working on this issue because I’d gain valuable experience. |
Hi @GeneCodeSavvy, you are welcome to work on this issue. My strong recommendation is that you make iterative progress. Try to tackle one pylint issue at a time. This will reduce the set of disabled checks. Start with the easy ones and work towards the harder ones. Submit PRs on a regular basis. Don't make too many changes in a PR, they will be too hard to review. Start by fixing just one disabled pylint warning per PR. I would prefer 10 PRs, each with one pylint warning fix, to 1 PR with intermingled changes fixing 10 pylint warnings. The latter will be very hard to review. Make use of this command, slightly modified from what you see in
Note: this assumes Linux or macOS. I don't know what the Windows equivalent of This will generate a report and show what pylint warnings have just a few occurrences, and what pylint warnings have lots of occurrences. |
Great! I'll get to work. I am on a Mac, so the command won't be an issue. |
@GeneCodeSavvy you asked on #465 for next steps. There are still a lot of pylint warnings. Were you asking what pylint warnings should be tackled next, or were you seeking a task other than pylint work? |
@tcmitchell Yes, I wanted to know about our priorities for pylint warnings because I’ve already addressed all the easy fixes (please let me know if I have missed any) |
Here are some that might be easy. These are guesses, you'll have to judge for yourself once you start looking at them:
I appreciate all the work that you are doing to improve the code! |
Thank you, I'll work on them this weekend. I’m having a great time contributing. In just two weeks, I’ve gained exposure to CI/CD workflows, pylint, and most importantly, how to navigate mature codebases like pySBOL3. |
Get on the road to supporting pylint in the GitHub Actions. Current score is -36.20/10. We can do better.
Of note, pylint does not like all the wildcard imports. There are more than 9,000 wildcard import issues.
The text was updated successfully, but these errors were encountered: