mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix flake8 violation
This commit is contained in:
parent
15a251ec40
commit
8e397d1334
@ -37,7 +37,7 @@ from sphinx.domains.std import GenericObject, Target, StandardDomain
|
||||
from sphinx.builders import BUILTIN_BUILDERS
|
||||
from sphinx.environment import BuildEnvironment
|
||||
from sphinx.io import SphinxStandaloneReader
|
||||
from sphinx.util import pycompat # noqa: imported for side-effects
|
||||
from sphinx.util import pycompat # noqa: F401
|
||||
from sphinx.util import import_object
|
||||
from sphinx.util.tags import Tags
|
||||
from sphinx.util.osutil import ENOENT
|
||||
|
@ -80,7 +80,7 @@ else:
|
||||
# error handler
|
||||
sys_encoding = __import__('locale').getpreferredencoding()
|
||||
# use Python 3 name
|
||||
from cgi import escape as htmlescape # noqa: 2.6, 2.7
|
||||
from cgi import escape as htmlescape # noqa: F401
|
||||
|
||||
class UnicodeMixin(object):
|
||||
"""Mixin class to handle defining the proper __str__/__unicode__
|
||||
|
Loading…
Reference in New Issue
Block a user