Skip to content

Commit dfabf80

Browse files
committed
comments wording
1 parent c9ea2e0 commit dfabf80

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/sphinx/pip.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ If you would like to access [entry points][whl_ep], see the `py_console_script_b
7272
(per-os-arch-requirements)=
7373
## Requirements for a specific OS/Architecture
7474

75-
IN some cases you may need to use different requirements files for different OS, Arch combinations. This is enabled via the `requirements_by_platform` attribute in `pip.parse` extension and the `pip_parse` repository rule. The keys of the dictionary are labels to the file and the values are a list of comma separated target (os, arch) tuples.
75+
In some cases you may need to use different requirements files for different OS, Arch combinations. This is enabled via the `requirements_by_platform` attribute in `pip.parse` extension and the `pip_parse` repository rule. The keys of the dictionary are labels to the file and the values are a list of comma separated target (os, arch) tuples.
7676

7777
For example:
7878
```starlark

python/pip_install/pip_repository.bzl

+1-1
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ pip_repository_attrs = {
613613
doc = """\
614614
The requirements files and the comma delimited list of target platforms as values.
615615
616-
The keys are the requirement files and the values are coma-separated platform
616+
The keys are the requirement files and the values are comma-separated platform
617617
identifiers. For now we only support `<os>_<cpu>` values that are present in
618618
`@platforms//os` and `@platforms//cpu` packages respectively.
619619
""",

python/private/parse_requirements.bzl

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
"""Requirements parsing for whl_library creation.
1616
17-
Usecases that the code needs to cover:
17+
Use cases that the code needs to cover:
1818
* A single requirements_lock file that is used for the host platform.
1919
* Per-OS requirements_lock files that are used for the host platform.
2020
* A target platform specific requirements_lock that is used with extra

0 commit comments

Comments
 (0)