mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-04 20:26:53 +00:00
Add docs
This commit is contained in:
parent
50e3ce9c78
commit
257eae684e
12 changed files with 691 additions and 1 deletions
34
docs/api.rst
Normal file
34
docs/api.rst
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue