lib.itmens/pyproject.toml

94 lines
2.3 KiB
TOML
Raw Normal View History

2024-06-02 15:11:36 -04:00
[project]
name = "neodb"
version = "0.9"
description = "🧩 self-hosted server tracking what you read/watch/listen/play, powering a global distributed community federating via ActivityPub."
readme = "README.md"
requires-python = ">= 3.12"
2024-06-04 23:18:24 -04:00
dependencies = [
"blurhash-python",
"cachetools",
"dateparser",
"discord.py",
"django~=4.2.11",
"django-anymail",
"django-auditlog>=3.0.0",
"django-bleach",
"django-compressor",
"django-cors-headers",
"django-environ",
"django-hijack",
"django-jsonform",
"django-maintenance-mode",
"django-markdownx",
"django-ninja",
"django-oauth-toolkit==2.3.0",
"django-polymorphic @ git+https://github.com/jazzband/django-polymorphic/@v4.0.0a",
"django-redis",
"django-rq",
"django-sass-processor",
"django-simple-history ",
"django-slack",
"django-tz-detect",
"django-user-messages",
"dnspython",
"easy-thumbnails",
"filetype",
"gunicorn",
"httpx",
"igdb-api-v4",
"langdetect",
"libsass",
"listparser",
"loguru",
"lxml",
"markdownify",
"mistune",
"openpyxl",
"podcastparser",
"psycopg2-binary",
"requests",
"rq",
"sentry-sdk",
"setproctitle",
"tqdm",
"typesense",
"urlman",
"validators",
]
[tool.rye]
managed = true
virtual = true
dev-dependencies = [
"pre-commit>=3.7.0",
"black~=24.4.2",
"django-stubs",
"djlint~=1.34.1",
"isort~=5.13.2",
"lxml-stubs",
"pyright==1.1.365",
"ruff",
]
2024-06-02 15:11:36 -04:00
2022-12-29 14:30:31 -05:00
[tool.pyright]
2024-05-27 15:44:12 -04:00
exclude = [ "media", ".venv", ".git", "playground", "catalog/*/tests.py", "journal/tests.py", "neodb", "**/migrations", "**/sites/douban_*", "neodb-takahe" ]
2023-12-29 16:03:31 -05:00
reportIncompatibleVariableOverride = false
[tool.djlint]
2024-04-23 23:57:49 -04:00
ignore="T002,T003,H005,H006,H019,H020,H021,H023,H030,H031,D018"
indent=2
2023-08-10 14:56:38 -04:00
[tool.isort]
profile = "black"
2023-08-10 17:15:00 -04:00
[tool.mypy]
2024-06-04 23:18:24 -04:00
exclude = ['^neodb-takahe/', '^legacy/', '^media/', '^playground/', '^catalog/*/tests.py', '^journal/tests.py', '^neodb/', '.*migrations.*', '.*sites/douban_.*' ]
2023-08-10 17:15:00 -04:00
plugins = ["mypy_django_plugin.main"]
[tool.django-stubs]
django_settings_module = "boofilsic.settings"
2023-08-11 01:43:19 -04:00
[tool.ruff]
2024-04-06 00:13:50 -04:00
exclude = ["neodb-takahe/*", "media", ".venv", ".git", "playground", "**/tests.py", "neodb", "**/migrations", "**/commands", "**/importers", "**/sites", "legacy" ]
lint.ignore = ["F401", "F403", "F405"]