Skip to content

Commit

Permalink
adding back linting checks
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkobronzi committed Sep 23, 2024
1 parent 2ae4432 commit 2628e64
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
set -e

# linting
#flake8 --ignore D . # Check everything but docstrings
#flake8 --select D --exclude tests/ # Check only the docstrings
#isort --check . # Check imports
flake8 --ignore D . # Check everything but docstrings
flake8 --select D --exclude tests/ # Check only the docstrings
isort --check . # Check imports

# Raise error if any staged notebooks contain outputs
GITDIR=$(git rev-parse --show-toplevel) # Full path to git working directory
Expand Down

0 comments on commit 2628e64

Please sign in to comment.