mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-01-03 01:15:57 +10:00
add new pydantic-based plugin system
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user