Skip to content

Commit

Permalink
Comments only
Browse files Browse the repository at this point in the history
Change-Id: I21c0c6cdfb896b8fa942591c10a71d786a4d5e61
  • Loading branch information
spt29 committed Dec 20, 2024
1 parent c9df8b5 commit afd56c7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ bandit.ini:
echo ) > bandit.ini
( echo exclude: /tests >> bandit.ini )

# NOTE: Due to the (unnecessary) use of Docker, find-shell-files *must* emit
# relative paths, which is inconsistent with find-python-files. :-/
format-shell:
docker run --rm -v "$(realpath ..):/sh" -w /sh peterdavehello/shfmt shfmt -w -i 4 -ci $$($(FIND_SHELL_FILES))

Expand Down Expand Up @@ -243,6 +245,8 @@ test-format-python-format: ../pyproject.toml
test-format-python-docker:
../scripts/run-in-docker.sh make --quiet test-format-python

# NOTE: Due to the (unnecessary) use of Docker, find-shell-files *must* emit
# relative paths, which is inconsistent with find-python-files. :-/
test-format-shell:
docker run --rm -v "$(realpath ..):/sh" -w /sh peterdavehello/shfmt shfmt -d -i 4 -ci $$($(FIND_SHELL_FILES))

Expand Down

0 comments on commit afd56c7

Please sign in to comment.