You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(docs): improved navigation and structure for API docs (#400)
Follows pattern from our other rulesets, makes it easier to link users
to docs.
---
### Changes are visible to end-users: no
### Test plan
None
---------
Co-authored-by: Matt Mackay <[email protected]>
We think you'll love rules_py because it fixes many issues with rules_python's rule implementations:
25
29
26
30
- The launcher uses the Bash toolchain rather than Python, so we have no dependency on a system interpreter. Fixes:
27
31
-[py_binary with hermetic toolchain requires a system interpreter](https://github.com/bazelbuild/rules_python/issues/691)
@@ -32,8 +36,8 @@ We think you'll love rules_py because:
32
36
-[sys.path[0] breaks out of runfile tree.](https://github.com/bazelbuild/rules_python/issues/382)
33
37
-[User site-packages directory should be ignored](https://github.com/bazelbuild/rules_python/issues/1059)
34
38
- We create a python-idiomatic virtualenv to run actions, which means better compatibility with userland implementations of [importlib](https://docs.python.org/3/library/importlib.html).
35
-
- Thanks to the virtualenv, you can open the project in an editor like PyCharm and have working auto-complete, jump-to-definition, etc. Fixes:
36
-
-[Smooth IDE support for python_rules](https://github.com/bazelbuild/rules_python/issues/1401)
39
+
- Thanks to the virtualenv, you can open the project in an editor like PyCharm or VSCode and have working auto-complete, jump-to-definition, etc.
40
+
-Fixes [Smooth IDE support for python_rules](https://github.com/bazelbuild/rules_python/issues/1401)
37
41
38
42
> [!NOTE]
39
43
> What about the "starlarkification" effort in rules_python?
@@ -50,12 +54,28 @@ Follow instructions from the release you wish to use:
50
54
51
55
### Using with Gazelle
52
56
53
-
In any ancestor `BUILD` file of the Python code, add these lines to instruct [Gazelle] to create rules_py variants of the `py_*` rules:
57
+
In any ancestor `BUILD` file of the Python code, add these lines to instruct [Gazelle] to create `rules_py` variants of the `py_*` rules:
0 commit comments