Skip to content

Commit 09802c5

Browse files
authored
docs: pin the Python cpp-linter in Getting started (#102)
1 parent 1eb6dcf commit 09802c5

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)