Skip to content

Commit 4d2952c

Browse files
abhikdpspre-commit-ci[bot]audgirka
authored
Exclude pip check command for docs in tox.ini file (#428)
* Exclude pip check command for docs in tox.ini file * chore: auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix prettier issue * chore: auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Ajinkya Udgirkar <[email protected]>
1 parent 3571539 commit 4d2952c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ extras =
5151

5252
commands_pre =
5353
# safety measure to assure we do not accidentally run tests with broken dependencies
54-
{envpython} -m pip check
54+
!{docs}: {envpython} -m pip check
5555
# cleaning needed to prevent errors between runs
5656
sh -c "rm -f {envdir}/.coverage.* 2>/dev/null || true"
5757
commands =

0 commit comments

Comments
 (0)