Start documenting our Trie implementation

This commit is contained in:
Ian Cordasco 2016-02-01 20:09:15 -06:00
parent 51d11d1a30
commit 5dc7440a2b
6 changed files with 7 additions and 4 deletions

View file

@ -53,6 +53,9 @@ These are used to interact with each of the types of plugins individually.
Our inspiration for our plugin handling comes from the author's extensive Our inspiration for our plugin handling comes from the author's extensive
experience with ``stevedore``. experience with ``stevedore``.
Notifying Listener Plugins
--------------------------
API Documentation API Documentation
----------------- -----------------

View file

@ -4,8 +4,8 @@ import logging
import pkg_resources import pkg_resources
from flake8 import notifier
from flake8 import exceptions from flake8 import exceptions
from flake8.plugins import notifier
LOG = logging.getLogger(__name__) LOG = logging.getLogger(__name__)

View file

@ -1,5 +1,5 @@
"""Implementation of the class that registers and notifies listeners.""" """Implementation of the class that registers and notifies listeners."""
from flake8 import _trie from flake8.plugins import _trie
class Notifier(object): class Notifier(object):

View file

@ -1,7 +1,7 @@
"""Unit tests for the Notifier object.""" """Unit tests for the Notifier object."""
import pytest import pytest
from flake8 import notifier from flake8.plugins import notifier
class _Listener(object): class _Listener(object):

View file

@ -1,5 +1,5 @@
"""Unit test for the _trie module.""" """Unit test for the _trie module."""
from flake8 import _trie as trie from flake8.plugins import _trie as trie
class TestTrie(object): class TestTrie(object):