-
Notifications
You must be signed in to change notification settings - Fork 275
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
api: Lint metadata.py #1294
api: Lint metadata.py #1294
Conversation
Thank you for the PR Philippe. These changes look appropriate. I wonder why the current tox configuration did not pick up these issues, it seems we are perhaps not properly listing this file? |
Ok I investigated a bit it looks like latest pylint 2.7.2 removed this "bad-continuation" feature while it was still present in earlier version (2.5.3 at least) Since 2.6 upstream suggests to use black formater: Any objection to use black for formatting ?: Nevertheless is this change still desirable? |
While working using pylint 2.5.3 (from debian package 2.5.3-2) I noticed those warnings that were not triggered by pylint 2.7.2 used in current tox configuration. After some investigation pylint-2.6, dropped "bad-continuation" feature. This will not harm to support older pylint versions, until an other formater (like blank) is introduced. Relate-to: theupdateframework#1294 Signed-off-by: Philippe Coval <[email protected]>
b9d894e
to
9e47333
Compare
While working using pylint 2.5.3 (from debian package 2.5.3-2) I noticed those warnings that were not triggered by pylint 2.7.2 used in current tox configuration. After some investigation pylint-2.6, dropped "bad-continuation" feature. This will not harm to support older pylint versions, until an other formater (like black) is introduced. Relate-to: theupdateframework#1294 Signed-off-by: Philippe Coval <[email protected]>
9e47333
to
af9c14f
Compare
Yes! But maybe we can defer this PR until we have a proper linter/auto-formatter config (#1178)? And then have a flag day, where we make all changes, grouping them thematically by commit? What do you think? |
Superseded by #1314. |
Thanks for the getting the ball rolling, @rzr! |
While working using pylint 2.5.3 (from debian package 2.5.3-2)
I noticed those warnings that were not triggered
by current tox configuration.
This will not harm to support several pylint version.
Change-Id: I7f4d5d56a157cab27f19cfe74cd74baa893c1d93
Signed-off-by: Philippe Coval [email protected]
Please fill in the fields below to submit a pull request. The more information
that is provided, the better.
Fixes #
Description of the changes being introduced by the pull request:
Please verify and check that the pull request fulfills the following
requirements: