2023-10-23 14:47:11 +00:00
|
|
|
[tool.poetry]
|
2024-02-02 13:00:57 +00:00
|
|
|
name = "discoursio-core"
|
2024-02-16 16:46:57 +00:00
|
|
|
version = "0.3.1"
|
2023-10-23 14:47:11 +00:00
|
|
|
description = "core module for discours.io"
|
|
|
|
authors = ["discoursio devteam"]
|
|
|
|
license = "MIT"
|
|
|
|
readme = "README.md"
|
|
|
|
|
|
|
|
[tool.poetry.dependencies]
|
|
|
|
python = "^3.12"
|
|
|
|
SQLAlchemy = "^2.0.22"
|
2023-11-22 18:06:45 +00:00
|
|
|
psycopg2-binary = "^2.9.9"
|
2023-10-23 14:47:11 +00:00
|
|
|
redis = {extras = ["hiredis"], version = "^5.0.1"}
|
2024-02-19 08:12:00 +00:00
|
|
|
sentry-sdk = { version = "^1.4.1", extras = ["starlette", "ariadne", "sqlalchemy"] }
|
2024-01-25 19:41:27 +00:00
|
|
|
starlette = "^0.36.1"
|
2023-11-29 07:23:41 +00:00
|
|
|
gql = "^3.4.1"
|
|
|
|
ariadne = "^0.21"
|
2024-01-25 08:04:00 +00:00
|
|
|
pre-commit = "^3.6.0"
|
2024-01-25 19:58:35 +00:00
|
|
|
granian = "^1.0.1"
|
2024-01-28 13:33:45 +00:00
|
|
|
google-analytics-data = "^0.18.3"
|
2024-01-29 02:00:54 +00:00
|
|
|
opensearch-py = "^2.4.2"
|
2024-02-19 08:11:13 +00:00
|
|
|
httpx = "^0.26.0"
|
2024-02-19 09:49:33 +00:00
|
|
|
dogpile-cache = "^1.3.1"
|
2023-10-23 14:47:11 +00:00
|
|
|
|
2023-11-28 07:53:48 +00:00
|
|
|
[tool.poetry.group.dev.dependencies]
|
2024-02-17 10:18:54 +00:00
|
|
|
ruff = "^0.2.1"
|
2024-02-19 11:45:55 +00:00
|
|
|
isort = "^5.13.2"
|
|
|
|
pyright = "^1.1.350"
|
2023-11-28 07:53:48 +00:00
|
|
|
|
2023-10-23 14:47:11 +00:00
|
|
|
[build-system]
|
|
|
|
requires = ["poetry-core"]
|
|
|
|
build-backend = "poetry.core.masonry.api"
|
2024-02-19 11:45:55 +00:00
|
|
|
|
|
|
|
[tool.isort]
|
|
|
|
multi_line_output = 3
|
|
|
|
include_trailing_comma = true
|
|
|
|
force_grid_wrap = 0
|
|
|
|
use_parentheses = true
|
|
|
|
ensure_newline_before_comments = true
|
|
|
|
line_length = 120
|
|
|
|
|
2024-02-19 12:51:09 +00:00
|
|
|
[lint]
|
2024-02-19 11:45:55 +00:00
|
|
|
select = ["E4", "E7", "E9", "F"]
|
|
|
|
ignore = []
|
|
|
|
line-length = 120
|
|
|
|
target-version = "py312"
|
|
|
|
|
|
|
|
[tool.pyright]
|
|
|
|
venvPath = "."
|
|
|
|
venv = ".venv"
|
|
|
|
include = ["."]
|
|
|
|
useLibraryCodeForTypes = false
|
|
|
|
disableLanguageServices = false
|
|
|
|
disableOrganizeImports = false
|
|
|
|
reportMissingImports = true
|
|
|
|
reportMissingModuleSource = "warning"
|
|
|
|
reportImportCycles = "warning"
|
|
|
|
maxMemoryForLargeFile = 4096
|
|
|
|
pythonVersion = "3.12"
|
|
|
|
autoImportCompletions = true
|
|
|
|
useVirtualEnv = true
|
|
|
|
typeCheckingMode = "basic"
|
|
|
|
disableJediCompletion = true
|
|
|
|
disableCompletion = false
|
|
|
|
disableSnippetCompletion = false
|
|
|
|
disableGoToDefinition = false
|
|
|
|
disableRenaming = false
|
|
|
|
disableSignatureHelp = false
|
|
|
|
diagnostics = true
|
|
|
|
logLevel = "debug"
|
|
|
|
pluginSearchPaths = []
|
|
|
|
typings = {}
|
|
|
|
mergeTypeStubPackages = false
|
|
|
|
|
|
|
|
[tool.pytest.ini_options]
|
|
|
|
pythonpath = ["tests"]
|
|
|
|
|
|
|
|
[tool.pytest]
|
|
|
|
python_files = "*_test.py"
|