Skip to content
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

fix(docs): Correct the names of extras used for reliabot #69

Merged
merged 1 commit into from
Mar 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,20 +132,20 @@ warning messages, by installing a Python RE2 regular expression package. These
require installation of the C++ RE2 library (run `brew install re2`, or use
Linux/BSD tools to install the `re2` package).

> ⚠️The `pyre2-wheels` extra (which depends on [pyre2-updated][7]) only works
> for Python 3.7 to 3.12. If you have to use another Python version and the
> `pyre2` extra doesn't work, use the [`--re` option][8] to turn off warnings
> about failure to load `re2`.
> ⚠️The `re2-wheels` extra (which depends on [pyre2-updated][7]) only works for
> Python 3.7 to 3.12. If you have to use another Python version and the `pyre2`
> extra doesn't work, use the [`--re` option][8] to turn off warnings about
> failure to load `re2`.

```shell
pip3 install 'reliabot[pyre2-wheels]'
pip3 install 'reliabot[re2-wheels]'
```

Alternately, you can try the original `pyre2` to build from source. This
requires a C++ compiler and libraries installed on your system.
requires you to have installed a C++ compiler, header files, and libraries.

```shell
pip3 install 'reliabot[pyre2]'
pip3 install 'reliabot[re2]'
```

Once installed, you can add the Python binary directory to your `PATH`.
Expand All @@ -158,19 +158,19 @@ Once installed, you can add the Python binary directory to your `PATH`.
> command.

The [pre‑commit documentation][9] has detailed instructions for installing and
configuring `pre‑commit`. Once you have:
configuring `pre‑commit`. After you:

1. installed `pre‑commit`,
1. install `pre‑commit`,

2. added a `.pre‑commit-config.yaml` configuration, for example by running:
2. add a `.pre‑commit-config.yaml` configuration, for example by running:

```shell
pre-commit sample-config > .pre-commit-config.yaml
```

and

3. installed the Git hooks for your repository,
3. install the Git hooks for your repository,

add the following to the `repos` entry in `.pre‑commit‑config.yaml`
([Installing with RE2][10] explains the motivation for the
Expand Down