summaryrefslogtreecommitdiff
path: root/docs/api.rst
diff options
context:
space:
mode:
authorIan Cordasco <graffatcolmingov@gmail.com>2013-02-22 23:18:15 -0500
committerIan Cordasco <graffatcolmingov@gmail.com>2013-02-22 23:18:15 -0500
commit257eae684eff8933f6d8fea15fe270ee5f34111d (patch)
tree13d56596d99376d6f3dd3fb7ca7e4525767f01e9 /docs/api.rst
parent50e3ce9c782a6fc9d0a7de96684b56e8e8bd91cd (diff)
downloadflake8-257eae684eff8933f6d8fea15fe270ee5f34111d.tar.gz
Add docs
Diffstat (limited to 'docs/api.rst')
-rw-r--r--docs/api.rst34
1 files changed, 34 insertions, 0 deletions
diff --git a/docs/api.rst b/docs/api.rst
new file mode 100644
index 0000000..e1b9cb3
--- /dev/null
+++ b/docs/api.rst
@@ -0,0 +1,34 @@
+.. module:: flake8
+
+flake8.engine
+=============
+
+.. autofunction:: flake8.engine.get_parser
+
+.. autofunction:: flake8.engine.get_style_guide
+
+flake8.hooks
+============
+
+.. autofunction:: flake8.hooks.git_hook
+
+.. autofunction:: flake8.hooks.hg_hook
+
+flake8.main
+===========
+
+.. autofunction:: flake8.main.main
+
+.. autofunction:: flake8.main.check_file
+
+.. autofunction:: flake8.main.check_code
+
+.. autoclass:: flake8.main.Flake8Command
+
+flake8.util
+===========
+
+For AST checkers, this module has the ``iter_child_nodes`` function and
+handles compatibility for all versions of Python between 2.5 and 3.3. The
+function was added to the ``ast`` module in Python 2.6 but is redefined in the
+case where the user is running Python 2.5