74 lines
1.2 KiB
TOML
74 lines
1.2 KiB
TOML
[project]
|
|
name = "kronos"
|
|
version = "0.1.0"
|
|
description = "Share events between services."
|
|
authors = [{ name = "Hackerspace Trójmiasto" }]
|
|
readme = "README.md"
|
|
license = { file = "LICENSE" }
|
|
|
|
requires-python = ">=3.13"
|
|
|
|
dependencies = []
|
|
|
|
[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",
|
|
]
|
|
|
|
line-length = 100
|
|
indent-width = 4
|
|
target-version = "py313"
|
|
|
|
[tool.ruff.lint]
|
|
select = [
|
|
# pycodestyle
|
|
"E",
|
|
"W",
|
|
# pyflakes
|
|
"F",
|
|
# pylint
|
|
"PL",
|
|
]
|
|
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"
|