Skip to content

Commit ff1af7d

Browse files
authored
[local-env] improve compatibility with different local dev environments (#1128)
1 parent b334b73 commit ff1af7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ python-lint: image
3131

3232
docker run --rm -u ${USER_GROUP} -v "$(CURDIR):/app" -w /app interuss/monitoring uv run ruff format --check || (echo "Linter didn't succeed. You can use the following command to fix python linter issues: make format" && exit 1)
3333
docker run --rm -u ${USER_GROUP} -v "$(CURDIR):/app" -w /app interuss/monitoring uv run ruff check || (echo "Linter didn't succeed. You can use the following command to fix python linter issues: make format" && exit 1)
34-
sha256sum .basedpyright/baseline.json > /tmp/baseline-before.hash
34+
shasum -b -a 256 .basedpyright/baseline.json > /tmp/baseline-before.hash
3535
docker run --rm -u ${USER_GROUP} -v "$(CURDIR):/app" -w /app interuss/monitoring uv run basedpyright || (echo "Typing check didn't succeed. Please fix issue and run make format to validate changes." && exit 1)
36-
sha256sum .basedpyright/baseline.json > /tmp/baseline-after.hash
36+
shasum -b -a 256 .basedpyright/baseline.json > /tmp/baseline-after.hash
3737
diff /tmp/baseline-before.hash /tmp/baseline-after.hash || (echo "Basedpyright baseline changed, probably dues to issues that have been cleanup. Use the following command to update baseline: make format" && exit 1)
3838

3939
.PHONY: validate-uss-qualifier-docs

0 commit comments

Comments
 (0)