X-Git-Url: http://git.scottworley.com/paperdoorknob/blobdiff_plain/cfd0b634e21851a0d9e8b4c8c258307baefcd931..70adfbff16123a62d6b25f8ead23789d831d1d70:/spec.py?ds=inline diff --git a/spec.py b/spec.py index 2b80f16..5d708e2 100644 --- a/spec.py +++ b/spec.py @@ -12,8 +12,8 @@ from typing import Callable, IO from bs4.element import Tag from fetch import Fetcher -from texify import Texifier from images import ImageStore +from texify import Texifier # pylint: disable=too-many-instance-attributes @@ -25,5 +25,9 @@ class Spec: htmlfilter: Callable[[bytes], bytes] domfilter: Callable[[Tag], None] texifier: Texifier + texfilter: Callable[[bytes], bytes] + icon_size: float + layout: bytes geometry: str | None texout: IO[bytes] + log: Callable[[str], None]