mirror of
https://github.com/onyx-dot-app/onyx.git
synced 2026-10-23 20:02:57 -05:00
47 lines
820 B
TOML
47 lines
820 B
TOML
[project]
|
|
name = "onyx-backend"
|
|
version = "0.0.0"
|
|
requires-python = ">=3.11,<3.13"
|
|
dependencies = [
|
|
"onyx[backend,dev,ee]",
|
|
]
|
|
|
|
[tool.uv.sources]
|
|
onyx = { workspace = true }
|
|
|
|
[tool.mypy]
|
|
plugins = "sqlalchemy.ext.mypy.plugin"
|
|
mypy_path = "backend"
|
|
explicit_package_bases = true
|
|
disallow_untyped_defs = true
|
|
enable_error_code = ["possibly-undefined"]
|
|
strict_equality = true
|
|
exclude = [
|
|
"^generated/.*",
|
|
]
|
|
|
|
[[tool.mypy.overrides]]
|
|
module = "alembic.versions.*"
|
|
disable_error_code = ["var-annotated"]
|
|
|
|
[[tool.mypy.overrides]]
|
|
module = "alembic_tenants.versions.*"
|
|
disable_error_code = ["var-annotated"]
|
|
|
|
[[tool.mypy.overrides]]
|
|
module = "generated.*"
|
|
follow_imports = "silent"
|
|
ignore_errors = true
|
|
|
|
[tool.ruff]
|
|
line-length = 130
|
|
target-version = "py311"
|
|
|
|
[tool.ruff.lint]
|
|
ignore = []
|
|
select = [
|
|
"E",
|
|
"F",
|
|
"W",
|
|
]
|