Skip to content

Commit

Permalink
Fixing linting.
Browse files Browse the repository at this point in the history
  • Loading branch information
pwei1018 committed Aug 14, 2024
1 parent d5608d2 commit 52e8fd8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 28 deletions.
5 changes: 3 additions & 2 deletions auth-api/src/auth_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,11 @@ def build_cache(app):
cache.clear()
if not app.config.get("TESTING", False):
try:
from auth_api.services.permissions import ( # pylint: disable=import-outside-toplevel
# pylint: disable=import-outside-toplevel
from auth_api.services.permissions import (
Permissions as PermissionService,
)
from auth_api.services.products import ( # pylint: disable=import-outside-toplevel
from auth_api.services.products import (
Product as ProductService,
)

Expand Down
3 changes: 2 additions & 1 deletion auth-api/src/auth_api/services/authorization.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ def _is_product_based_auth(product_code):

check_product_based_auth = False
if product_code:
from auth_api.services.products import ( # pylint:disable=cyclic-import, import-outside-toplevel
# pylint:disable=cyclic-import, import-outside-toplevel
from auth_api.services.products import (
Product as ProductService,
)

Expand Down
25 changes: 0 additions & 25 deletions auth-api/src/auth_api/version.py

This file was deleted.

0 comments on commit 52e8fd8

Please sign in to comment.