diff --git a/.flake8 b/.flake8 index 469e681..56124f5 100644 --- a/.flake8 +++ b/.flake8 @@ -1,4 +1,5 @@ [flake8] max-line-length=100 ignore=W503,D104,D100,D401 -docstring-convention=google \ No newline at end of file +docstring-convention=google +exclude= .venv diff --git a/hooks/pre-commit b/hooks/pre-commit index 96715b2..b930ae1 100755 --- a/hooks/pre-commit +++ b/hooks/pre-commit @@ -5,7 +5,7 @@ set -e # linting flake8 --ignore D . # Check everything but docstrings -flake8 --select D --exclude tests/ # Check only the docstrings +flake8 --select D . --exclude tests/,.venv # Check only the docstrings isort --check . # Check imports # Raise error if any staged notebooks contain outputs