diff options
| -rw-r--r-- | setup.py | 2 | ||||
| -rw-r--r-- | src/pgpmailman/plugin.py | 3 | ||||
| -rw-r--r-- | src/pgpmailman/rest/root.py | 2 | ||||
| -rw-r--r-- | tox.ini | 24 |
4 files changed, 27 insertions, 4 deletions
@@ -24,7 +24,7 @@ A plugin for GNU Mailman that adds encrypted mailing lists via PGP/MIME. package_dir={'': 'src'}, install_requires=[ 'mailman>=3.1.0', - 'pgp', + 'py-pgp', 'atpublic', 'zope.interface', ] diff --git a/src/pgpmailman/plugin.py b/src/pgpmailman/plugin.py index 0608bd0..a9b8dd4 100644 --- a/src/pgpmailman/plugin.py +++ b/src/pgpmailman/plugin.py @@ -1,9 +1,8 @@ from mailman.interfaces.plugin import IPlugin +from pgpmailman.rest.root import RESTRoot from public import public from zope.interface import implementer -from pgpmailman.rest.root import RESTRoot - @public @implementer(IPlugin) diff --git a/src/pgpmailman/rest/root.py b/src/pgpmailman/rest/root.py index 69565d8..a0dd3fa 100644 --- a/src/pgpmailman/rest/root.py +++ b/src/pgpmailman/rest/root.py @@ -11,4 +11,4 @@ class RESTRoot: @child() def users(self, context, segments): - pass
\ No newline at end of file + pass @@ -0,0 +1,24 @@ +[tox] +envlist = qa +skip_missing_interpreters = True + +[testenv] +usedevelop = True +deps = + flufl.testing + nose2 + +[testenv:qa] +basepython = python3 +commands = + python -m flake8 src +deps = + flake8>3.0 + flufl.testing + +[flake8] +enable-extensions = U4 +exclude = src/mailman/compat/*.py +hang-closing = True +jobs = 1 +max-line-length = 79 |
