diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2019-08-15 20:34:51 +0100 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2019-08-15 20:34:51 +0100 |
commit | 1e27e8facda76fd973a72c78a81f86389be30d57 (patch) | |
tree | 272b0d8dca74b45745e66d21e8ac7ed4cd7c9a38 | |
parent | 726731fbf694504d259615037ede4309551f00c7 (diff) |
unused imports and variables
-rw-r--r-- | alot/db/utils.py | 1 | ||||
-rw-r--r-- | alot/ui.py | 1 | ||||
-rwxr-xr-x | docs/source/generate_configs.py | 2 | ||||
-rw-r--r-- | tests/commands/test_global.py | 1 | ||||
-rw-r--r-- | tests/test_helper.py | 1 |
5 files changed, 1 insertions, 5 deletions
diff --git a/alot/db/utils.py b/alot/db/utils.py index 99b07b0b..bdb76f1e 100644 --- a/alot/db/utils.py +++ b/alot/db/utils.py @@ -6,7 +6,6 @@ import os import email import email.charset as charset -from email.iterators import typed_subpart_iterator import email.policy import email.utils import tempfile @@ -362,7 +362,6 @@ class UI: shuts down user interface without cleaning up. Use a :class:`alot.commands.globals.ExitCommand` for a clean shutdown. """ - exit_msg = None try: loop = asyncio.get_event_loop() loop.stop() diff --git a/docs/source/generate_configs.py b/docs/source/generate_configs.py index c30f9f04..1d7efb85 100755 --- a/docs/source/generate_configs.py +++ b/docs/source/generate_configs.py @@ -28,7 +28,7 @@ def rewrite_entries(config, path, specpath, sec=None): sec = config for entry in sorted(sec.scalars): v = Validator() - etype, eargs, ekwargs, default = v._parse_check(sec[entry]) + etype, eargs, _, default = v._parse_check(sec[entry]) if default is not None: default = config._quote(default) diff --git a/tests/commands/test_global.py b/tests/commands/test_global.py index 23c216ab..eb11555d 100644 --- a/tests/commands/test_global.py +++ b/tests/commands/test_global.py @@ -16,7 +16,6 @@ """Tests for global commands.""" -import logging import os import tempfile import unittest diff --git a/tests/test_helper.py b/tests/test_helper.py index d56b57b1..51865f15 100644 --- a/tests/test_helper.py +++ b/tests/test_helper.py @@ -18,7 +18,6 @@ """Test suite for alot.helper module.""" import datetime -import email import errno import os import random |