Fix some typing issues

This commit is contained in:
James R. Barlow
2023-10-24 00:54:31 -07:00
parent c0637c287e
commit 4dbc5e1dba
5 changed files with 15 additions and 8 deletions
+2 -2
View File
@@ -33,7 +33,7 @@ class OcrmypdfPluginManager(pluggy.PluginManager):
def __init__(
self,
*args,
plugins: list[str | Path],
plugins: Sequence[str | Path],
builtins: bool = True,
**kwargs,
):
@@ -101,7 +101,7 @@ class OcrmypdfPluginManager(pluggy.PluginManager):
def get_plugin_manager(
plugins: list[str | Path] | None = None, builtins=True
plugins: Sequence[str | Path] | None = None, builtins=True
) -> OcrmypdfPluginManager:
return OcrmypdfPluginManager(
project_name='ocrmypdf',