summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lesana/__init__.py7
-rw-r--r--lesana/command.py2
-rw-r--r--pyproject.toml8
3 files changed, 2 insertions, 15 deletions
diff --git a/lesana/__init__.py b/lesana/__init__.py
index 6665ca8..1a3fd54 100644
--- a/lesana/__init__.py
+++ b/lesana/__init__.py
@@ -1,6 +1 @@
-from .collection import Collection, Entry, TemplatingError
-
-# prevent spurious warnings from pyflakes
-assert Collection
-assert Entry
-assert TemplatingError
+from .collection import Collection, Entry, TemplatingError # noqa: F401
diff --git a/lesana/command.py b/lesana/command.py
index afbf5bf..52e6dd1 100644
--- a/lesana/command.py
+++ b/lesana/command.py
@@ -8,7 +8,7 @@ import hazwaz
try:
import argcomplete
except ImportError:
- argcomplete = False
+ argcomplete = None # type: ignore
from . import Collection, Entry, TemplatingError
diff --git a/pyproject.toml b/pyproject.toml
index 13cb29b..3437f23 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -58,11 +58,3 @@ Changelog = "https://git.sr.ht/~valhalla/lesana/tree/master/item/CHANGELOG.rst"
[tool.setuptools_scm]
version_file = "lesana/_version.py"
-
-[tool.mypy.overrides]
-module = [
- "xapian",
- "argcomplete",
- "hazwaz",
-]
-ignore_missing_imports = true