clan-core/pkgs/clan-app/pyproject.toml

48 lines
1.2 KiB
TOML
Raw Normal View History

2023-11-23 13:37:05 +00:00
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
2023-11-23 13:37:05 +00:00
[project]
2024-06-05 09:23:12 +00:00
name = "clan-app"
description = "clan app"
2023-11-23 13:37:05 +00:00
dynamic = ["version"]
2024-06-05 09:23:12 +00:00
scripts = { clan-app = "clan_app:main" }
2023-11-23 13:37:05 +00:00
2024-04-17 10:42:13 +00:00
[project.urls]
Homepage = "https://clan.lol/"
Documentation = "https://docs.clan.lol/"
Repository = "https://git.clan.lol/clan/clan-core"
[tool.setuptools.packages.find]
exclude = ["result"]
2023-11-23 13:37:05 +00:00
[tool.setuptools.package-data]
2024-06-05 09:23:12 +00:00
clan_app = ["**/assets/*"]
2023-11-23 13:37:05 +00:00
[tool.pytest.ini_options]
testpaths = "tests"
faulthandler_timeout = 60
log_level = "DEBUG"
log_format = "%(levelname)s: %(message)s\n %(pathname)s:%(lineno)d::%(funcName)s"
addopts = "--cov . --cov-report term --cov-report html:.reports/html --no-cov-on-fail --durations 5 --color=yes --new-first" # Add --pdb for debugging
norecursedirs = "tests/helpers"
markers = ["impure"]
2023-11-23 13:37:05 +00:00
[tool.mypy]
2023-11-29 11:38:00 +00:00
python_version = "3.11"
2023-11-23 13:37:05 +00:00
warn_redundant_casts = true
disallow_untyped_calls = true
disallow_untyped_defs = true
no_implicit_optional = true
[[tool.mypy.overrides]]
module = "clan_cli.*"
ignore_missing_imports = true
2023-11-23 13:37:05 +00:00
[tool.ruff]
2023-11-29 11:38:00 +00:00
target-version = "py311"
2023-11-23 13:37:05 +00:00
line-length = 88
2024-06-05 09:23:12 +00:00
lint.select = ["E", "F", "I", "U", "N", "RUF", "ANN", "A"]
2024-03-03 05:19:55 +00:00
lint.ignore = ["E501", "E402", "N802", "ANN101", "ANN401", "A003"]