-
Notifications
You must be signed in to change notification settings - Fork 38.1k
lint: fix lint-tests.py failing on correct names #26725
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
lint-tests.py is currently failing to detect that filenames are correct and therefore returning incorrect result and error code from the script.
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ReviewsSee the guideline for information on the review process. |
CI is green on master, so it is unclear to me what this is fixing. |
Closing because:
I am running with python 3.6.15 as per
vs Lines 19 to 23 in 65f5cfd
When I run
If I can't figure out why, I guess I'll re-open as an issue. |
Certainly seems to be something wrong with my local regex searching via python, although I'm not really sure how that can happen. For example modifying the regex line to use a different regex (with look behind capture group) will have it pass locally for me, as it seems to be doing on CI:
|
To debug this, we'd need steps to reproduce. Ideally, starting from a fresh install of your OS |
Ok I've found the issue in case anyone else ever ends up here. my |
lint-tests.py is currently failing to detect that filenames are correct and therefore returning incorrect result and error code from the script. This fixes the matching.
Ouput before:
Output after (all tests ok):
Output after (with an intentially renamed test):