Skip to content

Commit 2c86098

Browse files
authored
fix: address some of the noisy logging in the output to the action
1 parent 1070b78 commit 2c86098

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/scripts/lint-changed.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,12 @@ if [ ${#CHANGED_FILES[@]} -gt 0 ]; then
5454
BLACK_EXIT=0
5555
LINT_EXIT=0
5656

57+
# adding -q to silence some of the extraneous logging
5758
echo "Running blacken..."
58-
nox -s blacken -- "${CHANGED_FILES[@]}" || BLACK_EXIT=$?
59+
nox -q -s blacken -- "${CHANGED_FILES[@]}" || BLACK_EXIT=$?
5960

6061
echo "Running flake8 lint..."
61-
nox -s lint -- "${CHANGED_FILES[@]}" || LINT_EXIT=$?
62+
nox -q -s lint -- "${CHANGED_FILES[@]}" || LINT_EXIT=$?
6263

6364
if [ $BLACK_EXIT -ne 0 ] || [ $LINT_EXIT -ne 0 ]; then
6465
echo "❌ One or more linting checks failed."

0 commit comments

Comments
 (0)