From b1a6997fe6895f9ddad0f22d61ac6588bc7d1d24 Mon Sep 17 00:00:00 2001 From: Zach Smith Date: Wed, 2 May 2018 10:04:38 -0400 Subject: Docstring should be first. --- pycco/main.py | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/pycco/main.py b/pycco/main.py index 5bbb7c4..79799b8 100644 --- a/pycco/main.py +++ b/pycco/main.py @@ -1,23 +1,4 @@ #!/usr/bin/env python -from __future__ import absolute_import, print_function - -# Import our external dependencies. -import argparse -import os -import re -import sys -import time -from os import path - -import pygments -from markdown import markdown -from pycco.generate_index import generate_index -from pycco.languages import supported_languages -from pycco_resources import css as pycco_css -# This module contains all of our static resources. -from pycco_resources import pycco_template -from pygments import formatters, lexers - """ "**Pycco**" is a Python port of [Docco](http://jashkenas.github.com/docco/): the original quick-and-dirty, hundred-line-long, literate-programming-style @@ -62,6 +43,26 @@ Or, to install the latest source python setup.py install """ +from __future__ import absolute_import, print_function + +# Import our external dependencies. +import argparse +import os +import re +import sys +import time +from os import path + +import pygments +from pygments import formatters, lexers + +from markdown import markdown +from pycco.generate_index import generate_index +from pycco.languages import supported_languages +from pycco_resources import css as pycco_css +# This module contains all of our static resources. +from pycco_resources import pycco_template + # === Main Documentation Generation Functions === -- cgit v1.2.1