Richard Levasseur

Results 82 issues of 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...

bug
cat: generics

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...

bug
cat: core

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...

type: bug
P3

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,...

type: feature request
P3

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...

incompatible-change
team-Rules-Python

### 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...

type: feature request
P3
team-Configurability

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...

type: feature request