-
Notifications
You must be signed in to change notification settings - Fork 3
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
ci: add pylint job #2
Conversation
2b6fee1
to
1410a3c
Compare
Passing pipeline: https://github.com/aesteve-rh/ovirt-stress/runs/8092118699 |
1410a3c
to
b1cff55
Compare
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.
I did not review all changes, but they do not look helpful for this code. In general the code is worse with these changes, and it is full of cryptic pylint codes.
Most likely the pylint configuration enable rules that should not be enabled. Start with minimal configuration that pass with the current code, and add rules one by one as needed.
b1cff55
to
9f7cd64
Compare
I have reviewed the rules and the ones that are enabled are pretty basic, and helped to fix a few bugs in the code. I'll ready this PR up. |
9f7cd64
to
ac638b1
Compare
d822a54
to
ad98e6e
Compare
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.
Did only quick review, it looks good.
Adding from e
may be a problem if the original code expect to see the original exception.
Add pylint.yml to have basic linting CI job. The workflow is the official GH pylint template with some extra installs to satisfy dependencies. This requires installing dependiencies on each run, but is a good starting point for the new workflow. Use an autogenerated pylintrc configuration that passes with current code. Signed-off-by: Albert Esteve <aesteve@redhat.com>
Signed-off-by: Albert Esteve <aesteve@redhat.com>
Signed-off-by: Albert Esteve <aesteve@redhat.com>
Signed-off-by: Albert Esteve <aesteve@redhat.com>
Signed-off-by: Albert Esteve <aesteve@redhat.com>
Signed-off-by: Albert Esteve <aesteve@redhat.com>
Signed-off-by: Albert Esteve <aesteve@redhat.com>
ad98e6e
to
63e2ee3
Compare
https://github.com/aesteve-rh/ovirt-stress/actions/runs/3566260851 The action passed on my fork :) |
Add pylint.yml to have basic linting CI job.
Signed-off-by: Albert Esteve aesteve@redhat.com