mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-11 23:34:17 +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
|
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
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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__)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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):
|
||||||
|
|
@ -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):
|
||||||
|
|
|
||||||
|
|
@ -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):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue