-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Fix pylint problems #12912
Comments
Hey @vojtechjelinek, Is this still open? |
Hi @vojtechjelinek! Could you kindly assign me |
Hi @Manan-Rathi, I've assigned you to |
Should I create two separate PRs or just one? |
@Manan-Rathi Create one PR with all the changes i.e, enabling both the rules and fixing existing lint issues in the codebase. (Considering the number of changed files in the PR won't be > 50) |
Hi @vojtechjelinek @DubeySandeep ! Can I be assigned to |
@IamEzio I've assigned you to |
Hey @DubeySandeep Can I also work on |
Hey @vojtechjelinek Can you please assign me |
@rohittiwari761 Hey, can you send the errors that show up when you enable |
@IamEzio Done. |
Hi @vojtechjelinek. Kindly assign me |
Hey @vojtechjelinek Can I work on |
@raghavluthra20 Please wait a bit as f-strings are not used in our codebase and I need to check with the rest of the core maintainers. Feel free to pick different rule for now. |
hi @vojtechjelinek can i be assigned to super-with-arguments |
@Dhruv454000 Done. |
…ylint checks (#14504) Co-authored-by: Manan Rathi <[email protected]>
Yes. I was out in vacation. should be done until next week. |
De-assigning @richard-johansson @PietroFracCab due to inactivity. Please let me know if you're still working on this! |
Hey @vojtechjelinek @U8NWXD I would love to work on this issue. How can I get started? |
@rahulsurwade08 see the instructions at the top of this issue. If you still have questions, please be more specific about what you find confusing |
@U8NWXD Hello! Could I please be assigned to |
Hi! @josieecook Per the guidance at https://github.com/oppia/oppia/wiki/Contributing-code-to-Oppia#choosing-a-good-first-issue, please provide an explanation of what your PR will do (with names of files you're changing, what you plan to change in each file, etc.). If it looks good, we can assign you to this issue. |
Hello @U8NWXD, I'd like to be assigned
Example change:
after:
Additionally, I'd add a single |
Hi @vojtechjelinek , Steps):
Please refer the attached below: |
@adityauwu You're welcome to work on this if you like. Do you want to be assigned? If so, please say that explicitly next time. Also please ensure you've followed all the guidance at https://github.com/oppia/oppia/wiki/Contributing-code-to-Oppia bedore opening a PR. Thanks! |
Hi @seanlip , Yes please assign it to me, I have created a PR please review and guide me through the same! Thanks |
Hi @seanlip ! I would have liked to be assigned
I there anything that has changed in the code base since your original post ? Has it anything to do with the |
@m0nax5 I think pre_commit_linter got renamed to run_lint_checks. See https://github.com/oppia/oppia/wiki/Lint-Checks. I've updated the issue description accordingly, thanks for raising this. Also deassigning @adityauwu due to lack of activity. |
@seanlip thanks I was able to run the linter checks ! But I also had to manually install Also could you please assign me |
Thanks @m0nax5, I've assigned you. Could you please file an issue about the dependency issue you mentioned and steps to reproduce it on our wiki repo: github.com/oppia/oppia-web-developer-docs -- as well as your suggested fix? Thanks! |
I won’t be filing an issue since I wasn’t able to reproduce the bug, even though I tried on another machine. I checked and the dependency I was missing was supposed to have been installed since it is in |
Hi @seanlip I ran this: Does this mean this issue has been fixed? |
Hi @Felix-Mauyon ! If I may, did you chose an item to remove from the |
Thanks @m0nax5 If I understand you well, I am supposed to choose one of the item from step 2 and remove that line from the
|
Hi @seanlip, can I be assigned to fix the |
@Victor-ID I think @m0nax5 is working on this, but that PR has been stagnant for a while. @m0nax5 are you working on this still, or would you like someone else to take it up? Thanks! |
Hi @seanlip, I've been stuck on that issue for a while now and I haven't had as much time to work on it, it would be great if @Victor-ID could have a look at it, and even take it up if he would like to. Also if @Victor-ID you find a solution to it and would like me to help with the code I've submitted we could collaborate on it too, whichever way you prefer is fine by me ! |
The goal of this issue is to enable some pylint rules that we disabled while doing the Python 3 migration.
Steps to follow to create a PR:
python -m scripts.linters.run_lint_checks --only-check-file-extensions=py --path=core --verbose
to check existing issues in the codebase. (This can take 3-5 mins mins to complete.)Example PRs: #14474
Remove some disables from the .pylintrc:
cyclic-import
consider-using-with
@m0nax5 (also, for reference, see previous PR by @anjaist Fix part of #12912: Reintroduce consider-using-with linter #18139)Refactor custom validators that are not working correctly:
ExplicitKeywordArgsChecker
#16366 (assignments tracked in linked issue)Decided not to introduce:
consider-using-dict-items
@mjsumpterconsider-using-f-string
super-with-arguments
@jrvaldunnecessary-pass
arguments-renamed
import-outside-toplevel
The text was updated successfully, but these errors were encountered: