8000 MAINT flake8: move E402 ignore rule to setup.cfg for examples folder by ogrisel · Pull Request #18724 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

MAINT flake8: move E402 ignore rule to setup.cfg for examples folder #18724

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

Merged
merged 1 commit into from
Nov 1, 2020
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
5 changes: 0 additions & 5 deletions examples/.flake8

This file was deleted.

4 changes: 4 additions & 0 deletions setup.cfg
4B6E
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ artifact_indexes=
[flake8]
# Default flake8 3.5 ignored flags
ignore=E121,E123,E126,E226,E24,E704,W503,W504
# It's fine not to put the import at the top of the file in the examples
# folder.
per-file-ignores =
examples/*: E402

[mypy]
ignore_missing_imports = True
Expand Down
0