diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-01-28 01:52:16 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-01-28 01:52:16 +0900 |
commit | 9f5c676322200f0402a32873ba6cac6c6a0ff680 (patch) | |
tree | 9989917ae2b81c254a4b649e67c952b47ce8cf2a /sphinx/ext/pngmath.py | |
parent | af25fa123d2d2cf0ea8073b61120f5205f07deb8 (diff) | |
download | sphinx-git-9f5c676322200f0402a32873ba6cac6c6a0ff680.tar.gz |
Use flake8-import-order
Diffstat (limited to 'sphinx/ext/pngmath.py')
-rw-r--r-- | sphinx/ext/pngmath.py | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/sphinx/ext/pngmath.py b/sphinx/ext/pngmath.py index 717d51756..ebb05e615 100644 --- a/sphinx/ext/pngmath.py +++ b/sphinx/ext/pngmath.py @@ -10,27 +10,26 @@ :license: BSD, see LICENSE for details. """ -import re import codecs +import posixpath +import re import shutil import tempfile -import posixpath +from hashlib import sha1 from os import path from subprocess import Popen, PIPE -from hashlib import sha1 - -from six import text_type from docutils import nodes +from six import text_type import sphinx from sphinx.errors import SphinxError, ExtensionError +from sphinx.ext.mathbase import get_node_equation_number +from sphinx.ext.mathbase import setup_math as mathbase_setup, wrap_displaymath from sphinx.util import logging -from sphinx.util.png import read_png_depth, write_png_depth from sphinx.util.osutil import ensuredir, ENOENT, cd +from sphinx.util.png import read_png_depth, write_png_depth from sphinx.util.pycompat import sys_encoding -from sphinx.ext.mathbase import setup_math as mathbase_setup, wrap_displaymath -from sphinx.ext.mathbase import get_node_equation_number if False: # For type annotation |