kronos/pyproject.toml

103 lines
1.8 KiB
TOML
Raw Normal View History

2026-03-15 17:21:35 +01:00
[project]
name = "kronos"
version = "0.1.0"
description = "Share events between services."
authors = [{ name = "Hackerspace Trójmiasto" }]
readme = "README.md"
license-files = ["LICENSE"]
2026-03-15 17:21:35 +01:00
requires-python = ">=3.13"
dependencies = [
"beautifulsoup4==4.13.4",
"brevo-python==1.1.2",
"bs4==0.0.2",
"cachetools==6.1.0",
"certifi==2025.4.26",
"charset-normalizer==3.4.2",
"cssselect==1.3.0",
"cssutils==2.11.1",
"discord.py==2.7.1",
"fastapi[standard]>=0.136.1",
"html5lib==1.1",
"idna==3.10",
"immichpy>=4.1.3",
"Jinja2==3.1.6",
"lxml==6.0.0",
"MarkupSafe==3.0.2",
"more-itertools==10.7.0",
"premailer==3.10.0",
"python-dateutil==2.9.0.post0",
"python-dotenv==1.1.1",
"requests==2.32.4",
"six==1.17.0",
"soupsieve==2.7",
"typing_extensions==4.14.0",
"typst>=0.14.8",
"urllib3==2.5.0",
"webencodings==0.5.1",
]
2026-03-15 17:21:35 +01:00
[dependency-groups]
dev = ["pre-commit", "pre-commit-hooks", "pytest", "ruff"]
[project.scripts]
kronos = "kronos.main:_main"
[tool.ruff]
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"site-packages",
"venv",
2026-03-15 17:21:35 +01:00
]
line-length = 100
indent-width = 2
2026-03-15 17:21:35 +01:00
target-version = "py313"
[tool.ruff.lint]
select = [
# pycodestyle
"E",
"W",
# pyflakes
"F",
# pylint
"PL",
2026-03-15 17:21:35 +01:00
]
ignore = []
fixable = ["ALL"]
unfixable = []
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = false
docstring-code-line-length = "dynamic"