Skip to content

Commit 7f0bcbb

Browse files
committed
Pass through posargs. Allows specifying a hook to linter through 'tox -e linter -- hook_name'
1 parent 187023f commit 7f0bcbb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ setenv =
1313

1414
[testenv:linter]
1515
deps = pre-commit
16-
commands = pre-commit run --all-files
16+
commands = pre-commit run --all-files {posargs}

0 commit comments

Comments
 (0)