mirror of
https://github.com/sprockets/sprockets.mixins.mediatype.git
synced 2024-12-28 11:24:12 +00:00
Ignore flake8 errors since it has to pass now
This commit is contained in:
parent
cdd56e6e06
commit
03aeb58f8d
1 changed files with 3 additions and 3 deletions
|
@ -6,13 +6,13 @@ try:
|
|||
from .content import (ContentMixin, ContentSettings,
|
||||
add_binary_content_type, add_text_content_type,
|
||||
set_default_content_type)
|
||||
except ImportError as error: # pragma no cover
|
||||
except ImportError as error: # noqa: F841 # pragma no cover
|
||||
def _error_closure(*args, **kwargs):
|
||||
raise error
|
||||
raise error # noqa: F821
|
||||
|
||||
class ErrorClosureClass(object):
|
||||
def __init__(self, *args, **kwargs):
|
||||
raise error
|
||||
raise error # noqa: F821
|
||||
|
||||
ContentMixin = ErrorClosureClass
|
||||
ContentSettings = ErrorClosureClass
|
||||
|
|
Loading…
Reference in a new issue