mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-14 07:04:27 -04:00
more mypy fixes
This commit is contained in:
parent
eaa4a9c5ea
commit
9861a4fb48
5 changed files with 17 additions and 8 deletions
|
@ -9,6 +9,8 @@ SimpleConfigValueDict = Dict[str, SimpleConfigValue]
|
|||
SimpleConfigValueGetter = Callable[[], SimpleConfigValue]
|
||||
ConfigValue = Union[SimpleConfigValue, SimpleConfigValueDict, SimpleConfigValueGetter]
|
||||
|
||||
SHArgs = List[str] # shell command args list e.g. ["--something=1", "--someotherarg"]
|
||||
|
||||
|
||||
class BaseConfig(TypedDict):
|
||||
pass
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
__package__ = 'archivebox.plugins.defaults'
|
||||
|
||||
default_app_config = 'plugins.defaults.apps.DefaultsPluginAppConfig'
|
|
@ -1,6 +1,8 @@
|
|||
# __package__ = 'archivebox.plugins.defaults'
|
||||
__package__ = 'archivebox.plugins.defaults'
|
||||
|
||||
import shutil
|
||||
# import shutil
|
||||
|
||||
import re
|
||||
|
||||
from typing import List, Dict, Any
|
||||
from pathlib import Path
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
__package__ = 'archivebox.plugins.system'
|
||||
|
||||
default_app_config = 'plugins.system.apps.SystemPluginAppConfig'
|
|
@ -11,18 +11,19 @@ package-dir = "archivebox"
|
|||
requires-python = ">=3.9,<3.12"
|
||||
dependencies = [
|
||||
# pdm update [--unconstrained]
|
||||
"ipython>5.0.0",
|
||||
"requests>=2.24.0",
|
||||
"croniter>=0.3.34",
|
||||
"dateparser>=1.0.0",
|
||||
"django-extensions>=3.0.3",
|
||||
"django>=3.1.3,<3.2",
|
||||
"ipython>5.0.0",
|
||||
"mypy-extensions>=0.4.3",
|
||||
"python-crontab>=2.5.1",
|
||||
"requests>=2.24.0",
|
||||
"django>=3.1.3,<3.2",
|
||||
"django-extensions>=3.0.3",
|
||||
"django-solo>=2.0.0",
|
||||
"w3lib>=1.22.0",
|
||||
"yt-dlp>=2023.10.13",
|
||||
# "playwright>=1.39.0; platform_machine != 'armv7l'",
|
||||
"django-solo>=2.0.0",
|
||||
"mypy-extensions>=0.4.3",
|
||||
# "django-stubs-ext>=4.2.7",
|
||||
]
|
||||
classifiers = [
|
||||
"Development Status :: 4 - Beta",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue