-
Notifications
You must be signed in to change notification settings - Fork 74.9k
Supersed pylint_allowlist #48294
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
Supersed pylint_allowlist #48294
Conversation
Print errors
|
We have now 14 residual Do we want to use the official devel image in the CI to be sure that the user/contributors dev environment is aligned with the CI Sanity pass in github? |
| for r, g, b in rgb_flat | ||
| ]) | ||
| hsv_np = hsv_np.reshape(4, 4, 4, 3) | ||
| hsv_np = hsv_np.reshape(4, 4, 4, 3) # pylint: disable=too-many-function-args |
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.
E.g. We are tracking this type of notifications with #41873
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.
This is good, it gives us a better indication of where the flagged things are. Cleaning them up one by one (were possible), would make useful future contributions.
|
@bhack Can you please address Ubuntu Sanity errors? Thanks! |
|
I need to understand what Is the reference Sanity Docker Image. |
|
I've opened tensorflow/build#27 in the SIG-build repository so that they can compare |
|
@mihaimaruseac Can you please take a look on the above comments from @bhack. Thanks! |
|
@gbaned I've already talked with @mihaimaruseac just yesterday and he his still busy. |
|
Also we are waiting for a comment at tensorflow/build#27 (comment) for the Ubuntu Sanity VM. |
|
I checked the environment for the machine that's running ci_sanity (you can actually see it in ci_sanity results for new PRs): |
|
The last remaining issue for this PR is how we could align a Little bit that numpy version with the version currently in our official Docker devel https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tools/dockerfiles/dockerfiles/devel-cpu.Dockerfile#L87 Cause I don't know what reference env to suggest to contributors for local linting on par with CI Sanity. |
PiperOrigin-RevId: 376070925 Change-Id: I161036fd0826d1548d9eff9a39a131ece268a95f
|
Seems auto-merge is not happening but the changes are merged into master now, so we can close this. Thank you for the PR. |
|
Thank you @gbaned. I had to make a number of extra changes internally to land this, but it's in now. |
|
It was merged but the Ubuntu sanity VM is still on |
This a first PR to try to supersed
pylint_allowlistand custom pattern matching scripts for a less critical integration of ourpylintlinting with third party tools (e.g. IDE) and enable a potential pre-commit hook that we want to officially distribute for linting.I've upgraded
.pylintrcwith the info that we currently have in the pattern matching:tensorflow/tensorflow/tools/ci_build/ci_sanity.sh
Lines 181 to 198 in 38f4134
Then I used pylint-silent to patch files.