2023-04-15 16:55:56 +02:00
|
|
|
[project]
|
2022-08-14 20:41:58 +02:00
|
|
|
name = "metadex"
|
2025-02-01 14:53:59 +01:00
|
|
|
version = "0"
|
2022-08-14 20:41:58 +02:00
|
|
|
description = ""
|
2025-02-01 14:53:59 +01:00
|
|
|
authors = [{ name = "ducklet", email = "ducklet@noreply.code.dumpr.org" }]
|
|
|
|
|
requires-python = ">=3.8"
|
|
|
|
|
dependencies = [
|
|
|
|
|
"SQLAlchemy~=2.0",
|
|
|
|
|
"wcwidth>=0.2.5,<0.3",
|
|
|
|
|
"typing-extensions",
|
|
|
|
|
]
|
2022-08-14 20:41:58 +02:00
|
|
|
|
2025-02-01 14:53:59 +01:00
|
|
|
[dependency-groups]
|
|
|
|
|
dev = [
|
|
|
|
|
"interrogate",
|
|
|
|
|
"mypy",
|
|
|
|
|
"ruff",
|
|
|
|
|
]
|
|
|
|
|
test = [
|
|
|
|
|
"pytest>=7.2.0,<8",
|
|
|
|
|
"pytest-cov>=4.0.0,<5",
|
|
|
|
|
]
|
2023-02-08 22:42:06 +01:00
|
|
|
|
2025-02-01 14:53:59 +01:00
|
|
|
[tool.uv]
|
|
|
|
|
default-groups = [
|
|
|
|
|
"dev",
|
|
|
|
|
"test",
|
|
|
|
|
]
|
2022-08-14 20:41:58 +02:00
|
|
|
|
|
|
|
|
[build-system]
|
2025-02-01 14:53:59 +01:00
|
|
|
requires = ["hatchling"]
|
|
|
|
|
build-backend = "hatchling.build"
|
2023-02-08 22:42:06 +01:00
|
|
|
|
|
|
|
|
[tool.interrogate]
|
|
|
|
|
ignore-init-module = true
|
|
|
|
|
ignore-module = true
|
|
|
|
|
ignore-magic = true
|
|
|
|
|
fail-under = 80
|
|
|
|
|
exclude = ["tests"]
|
|
|
|
|
|
|
|
|
|
[tool.mypy]
|
|
|
|
|
check_untyped_defs = true
|
|
|
|
|
disallow_any_unimported = true
|
|
|
|
|
disallow_incomplete_defs = true
|
|
|
|
|
disallow_untyped_defs = true
|
|
|
|
|
no_implicit_optional = true
|
|
|
|
|
plugins = "sqlalchemy.ext.mypy.plugin"
|
|
|
|
|
show_error_codes = true
|
|
|
|
|
strict_equality = true
|
|
|
|
|
warn_return_any = true
|
|
|
|
|
warn_unused_ignores = true
|
|
|
|
|
|
|
|
|
|
[[tool.mypy.overrides]]
|
|
|
|
|
module = [
|
|
|
|
|
"wcwidth",
|
|
|
|
|
]
|
|
|
|
|
ignore_missing_imports = true
|
2023-02-08 23:01:45 +01:00
|
|
|
|
2025-02-01 14:53:59 +01:00
|
|
|
[tool.ruff.lint]
|
2023-04-15 16:55:56 +02:00
|
|
|
# See https://beta.ruff.rs/docs/rules/
|
|
|
|
|
ignore = [
|
|
|
|
|
"E501", # line length, handled by Black
|
|
|
|
|
]
|
|
|
|
|
select = [
|
|
|
|
|
"E", # pycodestyle errors
|
|
|
|
|
"W", # pycodestyle warnings
|
|
|
|
|
"I", # isort
|
|
|
|
|
"F", # Pyflakes
|
|
|
|
|
"B", # flake8-bugbear
|
|
|
|
|
"C4", # flake8-comprehensions checks.
|
|
|
|
|
]
|