chore: bypass invalid-django-waffle-import
This edx-lint check is to prevent:
import waffle
However, we are doing:
import .waffle
Where .waffle is importing correctly from edx_toggles instead of
directly from the Django waffle library.
See also:
be07c3739d/edx_lint/pylint/annotations_check.py (L379)
This commit is contained in:
@@ -23,7 +23,7 @@ from openedx.core.djangoapps.site_configuration import helpers as configuration_
|
||||
from openedx.core.djangoapps.theming import helpers as theming_helpers
|
||||
|
||||
from .models import CommerceConfiguration
|
||||
from .waffle import (
|
||||
from .waffle import ( # lint-amnesty, pylint: disable=invalid-django-waffle-import
|
||||
should_redirect_to_commerce_coordinator_checkout,
|
||||
should_redirect_to_commerce_coordinator_refunds,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user