-
Notifications
You must be signed in to change notification settings - Fork 135
Pylint and sanity_check #27
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
Conversation
|
What's the end goal for this PR? It doesn't seem useful for this repo. |
|
The goal of this PR is not to be merged but fast iterate using the Action and understand how we want to execute pylint on the developer machine having the same results as Ubuntu Sanity VM where I have no visibility. |
|
/cc @Pierre-Sassoulas Any hint about error differences between passing a file list to pylint vs pylint exploring the module (see Action result diff)? |
|
I did not check everything but pylint need |
|
@Pierre-Sassoulas I think I've found the issue. With wildcard import : The If you direct import the |
|
@angerson Can you let run the Action? |
|
Now |
|
Can you re-run this Action? |
|
You can close and reopen to launch the check again |
|
I don't think that we have this policy but I will try. |
This is a github Action to support and test tensorflow/tensorflow#48294 and our Gitter thread with /cc @perfinion @angerson. It has two job flat
pylintandci_sanity.shintensorflow/tensorflow:devel.As you can see from the Action log
pylintbehavior is different if we let it to explore the module itself or if we push a list of python files withfindas in ourci_sanity.shapproach.See also:
https://stackoverflow.com/questions/36873096/run-pylint-for-all-python-files-in-a-directory-and-all-subdirectories
https://pylint.readthedocs.io/en/latest/user_guide/run.html