Skip to content

Commit

Permalink
Updated run_linter and format_code
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinMusgrave committed Aug 13, 2022
1 parent a5819d1 commit a8cb8fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions format_code.sh
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions run_linter.sh
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit a8cb8fa

Please sign in to comment.