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
experience with ``stevedore``.
Notifying Listener Plugins
--------------------------
API Documentation
-----------------

View file

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

View file

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

View file

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

View file

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