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