Skip to content

Commit 308799e

Browse files
committed
docs: pin the Python cpp-linter in Getting started
Once cpp-linter 2.0 (the Rust rewrite) is on PyPI, a plain `pip install cpp-linter` installs it, and the notes under the command describe 1.x. Pin it like the AI coding agents and other CI pages do.
1 parent 1eb6dcf commit 308799e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎docs/getting-started.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ walks through the whole setup.
9090
[cpp-linter](https://cpp-linter.github.io/cpp-linter/) is the Python command behind the action:
9191

9292
```bash
93-
pip install cpp-linter
93+
pip install 'cpp-linter<2'
9494
cpp-linter --version=21 --style=file --tidy-checks=''
9595
```
9696

@@ -104,7 +104,8 @@ cpp-linter --version=21 --style=file --tidy-checks=''
104104
Azure Pipelines and Bitbucket Pipelines.
105105

106106
cpp-linter v2, a rewrite in Rust ([cpp-linter-rs](https://github.com/cpp-linter/cpp-linter-rs)),
107-
is in release candidates. Use the Python package until 2.0 is released.
107+
is in release candidates. `'cpp-linter<2'` keeps the Python package this section describes, also
108+
after 2.0 is released.
108109

109110
## Just the clang tools
110111

0 commit comments

Comments
 (0)