summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--alot/db/utils.py1
-rw-r--r--alot/ui.py1
-rwxr-xr-xdocs/source/generate_configs.py2
-rw-r--r--tests/commands/test_global.py1
-rw-r--r--tests/test_helper.py1
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
diff --git a/alot/ui.py b/alot/ui.py
index 2a156f68..b2cad776 100644
--- a/alot/ui.py
+++ b/alot/ui.py
@@ -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