Skip to content
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

Don't warn about using "skylark" inside URLs #863

Merged
merged 2 commits into from
Jun 11, 2020

Conversation

vladmos
Copy link
Member

@vladmos vladmos commented Jun 10, 2020

The skylark-docstring and skylark-comment check may yield some false positive warnings if the word "skylark" is a part of a link for the official Starlark documentation, such as https://docs.bazel.build/versions/master/skylark/lib/Label.html.

The fix suppresses the warning if the word "skylark" is prepended to or followed by a slash, this will cover this URL and potentially some other URLs too.

@vladmos vladmos merged commit 4b11e3f into bazelbuild:master Jun 11, 2020
@vladmos vladmos deleted the skylark_url branch June 11, 2020 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants