Uh oh!
There was an error while loading. Please reload this page.
Pylint and sanity_check - #27
Conversation
angerson
commented
Apr 26, 2021
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. |
bhack
commented
Apr 26, 2021
/cc @Pierre-Sassoulas Any hint about error differences between passing a file list to pylint vs pylint exploring the module (see Action result diff)? |
Pierre-Sassoulas
commented
Apr 27, 2021
I did not check everything but pylint need |
bhack
commented
Apr 27, 2021
@Pierre-Sassoulas I think I've found the issue. With wildcard import : The If you direct import the |
bhack
commented
Apr 27, 2021
@angerson Can you let run the Action? |
bhack
commented
Apr 27, 2021
Now |
bhack
commented
May 26, 2021
Can you re-run this Action? |
Pierre-Sassoulas
commented
May 26, 2021
You can close and reopen to launch the check again |
bhack
commented
May 26, 2021
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