Skip to content

Commit

Permalink
Add flake8 ignore comments to long imports
Browse files Browse the repository at this point in the history
  • Loading branch information
MRichards99 committed Oct 26, 2021
1 parent 0b7c9fd commit b60f532
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion datagateway_api/common/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
FilterError,
MissingCredentialsError,
)
from datagateway_api.src.resources.datagateway_api.entities.entity_endpoint_dict import (
from datagateway_api.src.resources.datagateway_api.entities.entity_endpoint_dict import ( # noqa: B950
endpoints,
)

Expand Down
6 changes: 3 additions & 3 deletions datagateway_api/src/api_start_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@
get_find_one_endpoint,
get_id_endpoint,
)
from datagateway_api.src.resources.datagateway_api.entities.entity_endpoint_dict import (
from datagateway_api.src.resources.datagateway_api.entities.entity_endpoint_dict import ( # noqa: B950
endpoints,
)
from datagateway_api.src.resources.datagateway_api.non_entities.ping_endpoint import (
ping_endpoint,
)
from datagateway_api.src.resources.datagateway_api.non_entities.sessions_endpoints import (
from datagateway_api.src.resources.datagateway_api.non_entities.sessions_endpoints import ( # noqa: B950
session_endpoints,
)
from datagateway_api.src.resources.datagateway_api.table_endpoints.table_endpoints import (
from datagateway_api.src.resources.datagateway_api.table_endpoints.table_endpoints import ( # noqa: B950
count_instrument_facility_cycles_endpoint,
count_instrument_investigation_endpoint,
instrument_facility_cycles_endpoint,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from sqlalchemy.inspection import inspect

from datagateway_api.common.helpers import get_entity_object_from_name
from datagateway_api.src.resources.datagateway_api.entities.entity_endpoint_dict import (
from datagateway_api.src.resources.datagateway_api.entities.entity_endpoint_dict import ( # noqa: B950
endpoints,
)

Expand Down
2 changes: 1 addition & 1 deletion test/test_endpoint_rules.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest

from datagateway_api.src.resources.datagateway_api.entities.entity_endpoint_dict import (
from datagateway_api.src.resources.datagateway_api.entities.entity_endpoint_dict import ( # noqa: B950
endpoints,
)

Expand Down

0 comments on commit b60f532

Please sign in to comment.