Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flake8 now does not run in .venv #132

Merged
merged 2 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .flake8
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[flake8]
max-line-length=100
ignore=W503,D104,D100,D401
docstring-convention=google
docstring-convention=google
exclude= .venv
2 changes: 1 addition & 1 deletion hooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading