Skip to content

Commit

Permalink
Doc fix: Use hyphen to install prospector with mypy and bandit in pre…
Browse files Browse the repository at this point in the history
…-commit (#634)
  • Loading branch information
jdechicchis authored Sep 12, 2023
1 parent db738e4 commit 34a3eba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/pre-commit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ them to the hook configuration like so::
hooks:
- id: prospector
additional_dependencies:
- ".[with_mypy,with_bandit]"
- ".[with-mypy,with-bandit]"
- args: [
'--with-tool=mypy',
'--with-tool=bandit',
Expand All @@ -53,4 +53,4 @@ them to the hook configuration like so::

This is equivalent to running::

pip install prospector[with_bandit,with_mypy]
pip install prospector[with-bandit,with-mypy]

0 comments on commit 34a3eba

Please sign in to comment.