Richard Levasseur
Richard Levasseur
When a typevar is used in a function call, sub-types of the typevar are lost. e.g. `def foo(T) -> T`, when given List[int] as the input will return List. This...
When a try/except is used, pytype seems to ignore missing returns elsewhere in the function. Example: ``` def func() -> bool: try: return None except NameError: return True ``` Actual...
Test rules can return `testing.TestEnvironment` to include custom environment variables for when the test is run. This works, however, they are not visible in the action object that an analysis...
It's currently a bit tricky to do failure tests of custom assert functions. One particular wart is that any expected failure will call print() and output a bogus failure message,...
While working some Google bzl code, I've ended up implementing several functions a few times over, and it'd be nice if these were in skylib directly. I'd like to add...
To avoid performance issues with the upcoming Starlark implementation of the rules, the legacy behavior of `py_binary` targets that are only dependencies (not top-level requested targets) having their runfile symlinks...
### Description of the problem / feature request: > Rule should be able to detect host/exec config ### Feature requests: what underlying problem are you trying to solve with this...
This allows easily using `addlicense` with pre-commit.com hook configs to automatically run when committing. An example example `.pre-commit-config.yaml` for a user would look like: ``` - repo: https://github.com/google/addlicense rev: hooks:...
It'd be very convenient if shortcut reference lines were able to perform reference resolution. For reference, a shortcut reference link is this: ``` [foo] [`foo`] ``` See https://spec.commonmark.org/0.30/#shortcut-reference-link As far...
A recurring source of issues in rules_python is the underlying support for how wheels are handled, mainly that support for multiple platforms and versions doesn't work very well because a...