organized imports
This commit is contained in:
parent
e79a8b9b87
commit
7cadb9d834
|
@ -1,4 +1,5 @@
|
|||
import sys
|
||||
|
||||
from dragonglass import main
|
||||
|
||||
sys.exit(main())
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import argparse
|
||||
import yaml
|
||||
from pathlib import Path
|
||||
from typing import Any
|
||||
from .tree import generate_list, SourceNode, SourceIndex
|
||||
|
||||
import yaml
|
||||
|
||||
from .mparse import create_markdown_parser
|
||||
from .tree import SourceIndex, SourceNode, generate_list
|
||||
|
||||
# The command line parser
|
||||
parser = argparse.ArgumentParser(prog='dragonglass')
|
||||
|
|
|
@ -1,14 +1,16 @@
|
|||
#/usr/bin/env python3
|
||||
|
||||
import re
|
||||
import markdown
|
||||
import xml.etree.ElementTree as etree
|
||||
from typing import Any
|
||||
from urllib.parse import urlparse
|
||||
from urllib.parse import unquote as urlunquote
|
||||
from urllib.parse import urlparse
|
||||
|
||||
import markdown
|
||||
from markdown.extensions import Extension
|
||||
from markdown.inlinepatterns import InlineProcessor, SimpleTagInlineProcessor
|
||||
from markdown.preprocessors import Preprocessor
|
||||
|
||||
from .dragonglass import Context
|
||||
|
||||
PRIO_BASE = 10000 # priority base for our extensions
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
from pathlib import Path
|
||||
from typing import Any
|
||||
from urllib.parse import quote as urlquote
|
||||
|
||||
import markdown
|
||||
import yaml
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user