metadex/pyproject.toml
2025-02-01 14:53:59 +01:00

71 lines
1.3 KiB
TOML

[project]
name = "metadex"
version = "0"
description = ""
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",
]
[dependency-groups]
dev = [
"interrogate",
"mypy",
"ruff",
]
test = [
"pytest>=7.2.0,<8",
"pytest-cov>=4.0.0,<5",
]
[tool.uv]
default-groups = [
"dev",
"test",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[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
[tool.ruff.lint]
# 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.
]