-
-
Notifications
You must be signed in to change notification settings - Fork 632
rules_python_external: fill missing docstrings #358
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
rules_python_external: fill missing docstrings #358
Conversation
url = url, | ||
sha256 = sha256, | ||
type = "zip", | ||
build_file_content = _GENERIC_WHEEL, |
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.
From running buildifier
on file.
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.
we should add a task to make that automated (I like to do it as a git pre-commit hook so you don't need to think about it)
""", | ||
) | ||
|
||
def pip_install(requirements, name = DEFAULT_REPOSITORY_NAME, **kwargs): |
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 a really thin macro. Not doing much at all.
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.
yeah in my PR to promote to public API, I use this as a spot to add the fetch of external repos like pypi__pip
""", | ||
) | ||
|
||
def pip_install(requirements, name = DEFAULT_REPOSITORY_NAME, **kwargs): |
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.
yeah in my PR to promote to public API, I use this as a spot to add the fetch of external repos like pypi__pip
url = url, | ||
sha256 = sha256, | ||
type = "zip", | ||
build_file_content = _GENERIC_WHEEL, |
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.
we should add a task to make that automated (I like to do it as a git pre-commit hook so you don't need to think about it)
Description
Adding missing docstrings for
experimental/rules_python_external
. Does not add new rules into Stardoc yet. That will be a subsequent pull request.Plan 🛣
Our plan is in multiple steps:
bring in the repo to a subdirectory, preserving git history and contributorsclean up the code, remove mypy, get it functional in that subdirectoryadd an example/integration test proving that it workscut a patch release and get some users to test it outPR Checklist
Please check if your PR fulfills the following requirements:
.par
files. See CONTRIBUTING.md for infoDoes this PR introduce a breaking change?