add new pydantic-based plugin system

This commit is contained in:
Nick Sweeting
2024-05-17 20:13:54 -07:00
parent e4176dbf7a
commit 48becde9b4
33 changed files with 2280 additions and 4 deletions

View File

@@ -40,6 +40,8 @@ dependencies = [
"ulid-py>=1.1.0",
"typeid-python>=0.3.0",
"django-charid-field>=0.4",
"django-pydantic-field>=0.3.9",
"django-jsonform>=2.22.0",
]
homepage = "https://github.com/ArchiveBox/ArchiveBox"
@@ -158,6 +160,22 @@ plugins = ["mypy_django_plugin.main"]
[tool.django-stubs]
django_settings_module = "core.settings"
[tool.pyright]
include = ["archivebox"]
exclude = ["**/node_modules",
"**/__pycache__",
"**/migrations",
"archivebox/vendor",
]
# ignore = ["src/oldstuff"]
# defineConstant = { DEBUG = true }
reportMissingImports = true
reportMissingTypeStubs = false
pythonVersion = "3.10"
pythonPlatform = "Linux"
[project.urls]
Homepage = "https://github.com/ArchiveBox/ArchiveBox"