Skip to content

Commit

Permalink
🚨(backend) fix pylint cyclic imports false positive
Browse files Browse the repository at this point in the history
With pylint update to version 3, some false positives related to cyclic
imports have appeared.
This is probaly related to pylint-dev/pylint#9175
We choose to ignore them in __init__.py files.
  • Loading branch information
kernicPanel committed Oct 23, 2023
1 parent 0c1c9f2 commit cec7003
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/backend/marsha/core/api/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Make all APIs available from marsha.core.apis."""
# pylint: disable=wildcard-import,unused-wildcard-import
# pylint: disable=wildcard-import,unused-wildcard-import,cyclic-import
from .account import * # noqa isort:skip
from .base import * # noqa isort:skip
from .file import * # noqa isort:skip
Expand Down
2 changes: 1 addition & 1 deletion src/backend/marsha/core/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Make all models available from marsha.core.models."""
# pylint: disable=wildcard-import,unused-wildcard-import
# pylint: disable=wildcard-import,unused-wildcard-import,cyclic-import
from .account import * # noqa isort:skip
from .file import * # noqa isort:skip
from .playlist import * # noqa isort:skip
Expand Down
2 changes: 1 addition & 1 deletion src/backend/marsha/core/serializers/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Make all serializers available from marsha.core.serializers."""
# pylint: disable=wildcard-import,unused-wildcard-import
# pylint: disable=wildcard-import,unused-wildcard-import,cyclic-import
from .account import * # noqa isort:skip
from .base import * # noqa isort:skip
from .file import * # noqa isort:skip
Expand Down
2 changes: 1 addition & 1 deletion src/backend/marsha/core/utils/medialive_utils/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Make all medialive_utils available from marsha.core.utils.medialive_utils."""
# pylint: disable=wildcard-import,unused-wildcard-import
# pylint: disable=wildcard-import,unused-wildcard-import,cyclic-import
from .medialive_action_utils import * # noqa isort:skip
from .medialive_client_utils import * # noqa isort:skip
from .medialive_create_utils import * # noqa isort:skip
Expand Down

0 comments on commit cec7003

Please sign in to comment.