Skip to content

Commit

Permalink
Show diff in check-extern
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed May 10, 2024
1 parent 06f2d4b commit 0f48d1a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,14 @@ commands =

[testenv:{vendor,check-extern}]
skip_install = True
allowlist_externals = sh
allowlist_externals = git, sh
deps =
path
cogapp
commands =
vendor: python -m tools.vendored
vendor: sh -c "git grep -l -F '\[\[\[cog' | xargs -t cog -I {toxinidir} -r" # update `*.extern`
check-extern: sh -c "git grep -l -F '\[\[\[cog' | xargs -t cog -I {toxinidir} --check"
sh -c "git grep -l -F '\[\[\[cog' | xargs -t cog -I {toxinidir} -r" # update `*.extern`
check-extern: git diff --exit-code

[testenv:generate-validation-code]
skip_install = True
Expand Down

0 comments on commit 0f48d1a

Please sign in to comment.