mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-30 18:56:53 +00:00
Start documenting our Trie implementation
This commit is contained in:
parent
51d11d1a30
commit
5dc7440a2b
6 changed files with 7 additions and 4 deletions
|
|
@ -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
|
||||
-----------------
|
||||
|
||||
|
|
|
|||
|
|
@ -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__)
|
||||
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
"""Unit tests for the Notifier object."""
|
||||
import pytest
|
||||
|
||||
from flake8 import notifier
|
||||
from flake8.plugins import notifier
|
||||
|
||||
|
||||
class _Listener(object):
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue