Files
core/pyproject.toml

87 lines
1.9 KiB
TOML
Raw Normal View History

2023-10-23 17:47:11 +03:00
[tool.poetry]
2024-02-19 16:18:35 +03:00
name = "core"
version = "0.3.2"
2023-10-23 17:47:11 +03: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 21:06:45 +03:00
psycopg2-binary = "^2.9.9"
2023-10-23 17:47:11 +03:00
redis = {extras = ["hiredis"], version = "^5.0.1"}
2024-02-19 11:12:00 +03:00
sentry-sdk = { version = "^1.4.1", extras = ["starlette", "ariadne", "sqlalchemy"] }
2024-01-25 22:41:27 +03:00
starlette = "^0.36.1"
2023-11-29 10:23:41 +03:00
gql = "^3.4.1"
ariadne = "^0.21"
2024-01-25 11:04:00 +03:00
pre-commit = "^3.6.0"
2024-01-25 22:58:35 +03:00
granian = "^1.0.1"
2024-01-28 16:33:45 +03:00
google-analytics-data = "^0.18.3"
2024-01-29 05:00:54 +03:00
opensearch-py = "^2.4.2"
2024-02-19 11:11:13 +03:00
httpx = "^0.26.0"
2024-02-19 12:49:33 +03:00
dogpile-cache = "^1.3.1"
2024-02-20 18:04:59 +03:00
colorlog = "^6.8.2"
2024-02-25 16:43:04 +03:00
sqlalchemy-searchable = "^2.1.0"
2023-10-23 17:47:11 +03:00
2023-11-28 10:53:48 +03:00
[tool.poetry.group.dev.dependencies]
2024-02-17 13:18:54 +03:00
ruff = "^0.2.1"
2024-02-19 14:45:55 +03:00
isort = "^5.13.2"
pyright = "^1.1.350"
2023-11-28 10:53:48 +03:00
2023-10-23 17:47:11 +03:00
[build-system]
2024-02-19 16:23:24 +03:00
requires = ["poetry-core>=1.0.0"]
2023-10-23 17:47:11 +03:00
build-backend = "poetry.core.masonry.api"
2024-02-19 14:45:55 +03:00
[tool.isort]
multi_line_output = 3
2024-02-25 18:36:08 +03:00
include_trailing_comma = false
2024-02-19 14:45:55 +03:00
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 120
2024-02-19 15:51:09 +03:00
[lint]
2024-02-19 14:45:55 +03:00
select = ["E4", "E7", "E9", "F"]
ignore = []
line-length = 120
target-version = "py312"
2024-02-21 19:14:58 +03:00
[tool.ruff.format]
# Prefer single quotes over double quotes.
quote-style = "single"
skip-magic-trailing-comma = true
2024-02-19 14:45:55 +03:00
[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]
2024-02-19 17:22:38 +03:00
pythonpath = ["."]
2024-02-19 14:45:55 +03:00
[tool.pytest]
python_files = "*_test.py"