From de5f8b0653efd998b86cdfc523eef3569804be4d Mon Sep 17 00:00:00 2001 From: Ivan Cheung Date: Tue, 1 Feb 2022 12:19:19 -0500 Subject: [PATCH] Removed unneeded lines in linter (#257) Co-authored-by: Karl Weinmeister <11586922+kweinmeister@users.noreply.github.com> --- .github/workflows/linter/run_linter.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/linter/run_linter.sh b/.github/workflows/linter/run_linter.sh index 40f54c363..31b6ef326 100755 --- a/.github/workflows/linter/run_linter.sh +++ b/.github/workflows/linter/run_linter.sh @@ -84,19 +84,19 @@ if [ ${#notebooks[@]} -gt 0 ]; then FLAKE8_RTN=$? else echo "Running black..." - python3 -m nbqa black "$notebook" --nbqa-mutate + python3 -m nbqa black "$notebook" BLACK_RTN=$? echo "Running pyupgrade..." - python3 -m nbqa pyupgrade "$notebook" --nbqa-mutate + python3 -m nbqa pyupgrade "$notebook" PYUPGRADE_RTN=$? echo "Running isort..." - python3 -m nbqa isort "$notebook" --nbqa-mutate + python3 -m nbqa isort "$notebook" ISORT_RTN=$? echo "Running nbfmt..." python3 -m tensorflow_docs.tools.nbfmt --remove_outputs "$notebook" NBFMT_RTN=$? echo "Running flake8..." - python3 -m nbqa flake8 "$notebook" --show-source --extend-ignore=W391,E501,F821,E402,F404,W503,E203,E722,W293,W291 --nbqa-mutate + python3 -m nbqa flake8 "$notebook" --show-source --extend-ignore=W391,E501,F821,E402,F404,W503,E203,E722,W293,W291 FLAKE8_RTN=$? fi