Skip to content

Commit

Permalink
Merge pull request #405 from pcattori/flake8-per-file-ignores
Browse files Browse the repository at this point in the history
Ignore F401 flake8 error explicitly
  • Loading branch information
pcattori committed Jul 2, 2020
2 parents 7f643d2 + a1910b8 commit 6bf029a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
4 changes: 1 addition & 3 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@ max-line-length = 88
max-complexity = 18
select = B,C,E,F,I,W,T4,B9
exclude = build,.venv,*.egg-info

per-file-ignores =
tamr_client/__init__.py:E402,F401,I100,I202
tamr_client/_types/__init__.py:F401
tamr_client/attribute/__init__.py:F401
tamr_client/*/__init__.py:F401

# flake8-import-order plugin
import-order-style = google
Expand Down
3 changes: 1 addition & 2 deletions tamr_client/dataset/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# flake8: noqa
from tamr_client.dataset import dataframe, record, unified
from tamr_client.dataset.dataset import AnyDataset, Dataset
from tamr_client.dataset.dataset import from_resource_id
from tamr_client.dataset.dataset import NotFound
from tamr_client.dataset import dataframe, record, unified
3 changes: 1 addition & 2 deletions tamr_client/mastering/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# flake8: noqa
"""
Tamr - Mastering
See https://docs.tamr.com/docs/overall-workflow-mastering
"""
from tamr_client.mastering.project import Project
import tamr_client.mastering.project
from tamr_client.mastering.project import Project

0 comments on commit 6bf029a

Please sign in to comment.