From a8cb8fa03b107b327a5c1aa0fcb6c2cbf425ab2a Mon Sep 17 00:00:00 2001 From: KevinMusgrave Date: Fri, 12 Aug 2022 21:22:40 -0400 Subject: [PATCH] Updated run_linter and format_code --- format_code.sh | 4 ++-- run_linter.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/format_code.sh b/format_code.sh index 88c890ad..b4187211 100755 --- a/format_code.sh +++ b/format_code.sh @@ -1,4 +1,4 @@ -black . --exclude examples -isort . --profile black --skip-glob examples +black src tests +isort src tests --profile black nbqa black examples nbqa isort examples --profile black \ No newline at end of file diff --git a/run_linter.sh b/run_linter.sh index b67c15ac..88373360 100755 --- a/run_linter.sh +++ b/run_linter.sh @@ -1,4 +1,4 @@ -flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics -flake8 . --count --select=F401 --statistics --per-file-ignores="__init__.py:F401" +flake8 src tests --count --select=E9,F63,F7,F82 --show-source --statistics +flake8 src tests --count --select=F401 --statistics --per-file-ignores="__init__.py:F401" nbqa flake8 examples --count --select=E9,F63,F7,F82 --show-source --statistics nbqa flake8 examples --count --select=F401 --statistics --per-file-ignores="__init__.py:F401" \ No newline at end of file