-
Notifications
You must be signed in to change notification settings - Fork 0
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
WIP: pylint upgrade #1422
base: master
Are you sure you want to change the base?
WIP: pylint upgrade #1422
Conversation
In GitLab by [Gitlab user @BenjaminSchubert] on Jul 5, 2020, 09:01 Commented on .pylintrc line 131 please add the |
In GitLab by [Gitlab user @BenjaminSchubert] on Jul 5, 2020, 09:01 Commented on .pylintrc line 324 I am not too confident about this one. Do all our dependencies use the |
In GitLab by [Gitlab user @BenjaminSchubert] on Jul 5, 2020, 09:01 Commented on .pylintrc line 402 This should stay disabled, |
In GitLab by [Gitlab user @BenjaminSchubert] on Jul 5, 2020, 09:02 The first commit has a huge number of changes, including weird line-returns. (Cutting words after a '-'). Is that how the vanilla generated pylintrc file look like now? |
In GitLab by [Gitlab user @frazerclews] on Jul 5, 2020, 15:35 Yeah, I just did the usual |
In GitLab by [Gitlab user @frazerclews] on Jul 5, 2020, 15:35 Commented on .pylintrc line 402 That's what I thought, but wasn't too sure if you would want to enforce it in pylint too just in case for consistency, will remove it |
In GitLab by [Gitlab user @BenjaminSchubert] on Jul 5, 2020, 15:36 Commented on .pylintrc line 402 Pylint is already quite slow, I think that if we have another tool checking it, it's fine to disable here :) thanks! |
In GitLab by [Gitlab user @BenjaminSchubert] on Jul 5, 2020, 15:37 Agreed, I was just surprised at the number of changes. Let's keep it as close to the genuine as possible. |
In GitLab by [Gitlab user @frazerclews] on Jul 5, 2020, 15:40 Commented on .pylintrc line 324 I don't think it causes an issue with dependencies, it's just a style of logging. There are plenty of things in the dependencies I am certain don't follow other rules we enforce and work just fine |
In GitLab by [Gitlab user @BenjaminSchubert] on Jul 5, 2020, 15:45 Commented on .pylintrc line 324 In order for We should at least verify that all the logging is correct and doesn't show stack traces, as it would not be an error, logging catches all errors that happen inside it to not crash your app. |
In GitLab by [Gitlab user @frazerclews] on Jul 6, 2020, 11:15 Commented on .pylintrc line 131 changed this line in version 2 of the diff |
In GitLab by [Gitlab user @frazerclews] on Jul 6, 2020, 11:15 Commented on .pylintrc line 402 changed this line in version 2 of the diff |
In GitLab by [Gitlab user @frazerclews] on Jul 6, 2020, 11:15 added 2 commits
|
In GitLab by [Gitlab user @frazerclews] on Jul 6, 2020, 11:16 Commented on .pylintrc line 131 Not sure how I feel about that since it goes against the style of the rest .pylintrc, but added the comma back |
In GitLab by [Gitlab user @frazerclews] on Jul 6, 2020, 13:35 added 13 commits |
In GitLab by [Gitlab user @frazerclews] on Jul 6, 2020, 13:59 added 1 commit
|
In GitLab by [Gitlab user @frazerclews] on Jul 6, 2020, 15:12 added 1 commit
|
In GitLab by [Gitlab user @cs-shadow] on Jul 14, 2020, 23:19 Thanks for starting this. As a coding style thing, I think it may make sense to separate the pylint upgrade from other changes. In general, I see value in keeping all the "upgrade" MRs as targeted as possible. That makes reviewing them much simpler, and other changes in the coding style can be debated separately. Merging the upgrade with other changes muddies the water a little bit regarding the scope of the review. |
In GitLab by [Gitlab user @BenjaminSchubert] on Aug 4, 2020, 07:41 mentioned in merge request !2011 |
See original merge request on GitLab
In GitLab by [Gitlab user @frazerclews] on Jul 5, 2020, 03:15
Description
//: # Upgrade .pylintrc to pylint 2.5, while also enforcing new rules to make the codebase better
Changes proposed in this merge request:
This merge request, when approved, will close: