-
Notifications
You must be signed in to change notification settings - Fork 49
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
Adding basic pylint #546
Adding basic pylint #546
Conversation
Can you try that again -- I don't understand what you mean. There are lots
of lint errors in the current files. Marking them as ignored or resolving
them is certainly the right thing to do, but not sure what that has to do
with this PR... ? Do you mean "done include files that have no lint errors
in the list"?
…On Wed, Dec 21, 2022 at 3:41 AM Noureddine ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In bin/test_pylint
<#546 (comment)>:
> @@ -0,0 +1,31 @@
+#!/bin/bash -e
+#
+# Run pylint on all the detected python files and compare against the expected list.
+# This is far from perfect, but the goal is just to prevent horrible things and to get
+# people to at least think about the style of python code. Adding a new python file will
+# require people to add another line in the test_pylint.out golden file.
There are only a handful of lint errors - it's probably worth marking them
as ignored in the file or resolving them to save the additional step of
adding the file to the
—
Reply to this email directly, view it on GitHub
<#546 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIEPD2BCPRQMOLSHKM2AXDWOLUIBANCNFSM6AAAAAATFBL6HQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
If the current lint errors are resolved or ignored, then there is no need for the golden I have resolved most pylint errors, can PR into this? |
Sure -- if you have something to update I can take a look. Right now I'm
seeing LOTS of python lint errors, so not quite sure what you're really
getting at -- so looking at the same version of things would likely help.
…On Wed, Dec 21, 2022 at 7:59 AM Noureddine ***@***.***> wrote:
If the current lint errors are resolved or ignored, then there is no need
for the golden test_pylint.txt and the need to add any python files into
the list. The CI check becomes for any lint errors.
I have resolved most pylint errors, can PR into this?
—
Reply to this email directly, view it on GitHub
<#546 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIEPDYCGQJD343ETKTCIILWOMSNXANCNFSM6AAAAAATFBL6HQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add to bin/precheck
grafnu#4 resolves the pylint errors (combination of actually fixing, ignoring errors with good reason, or skipping ( Also suggest the pylintrc is named |
No description provided.