Files
locutus/pyproject.toml
2025-06-24 20:54:56 +10:00

60 lines
994 B
TOML

[build-system]
requires = ["setuptools>=40.9.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "locutus"
version = "0.1.1"
description = "A simple borg wrapper"
requires-python = ">=3.11"
dependencies = [
]
authors = [
{name = "Alexander Wainwright", email = "code@figtree.dev"},
]
maintainers = [
{name = "Alexander Wainwright", email = "code@figtree.dev"},
]
readme = "README.md"
license = {file = "LICENSE"}
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
]
[tool.setuptools.packages.find]
where = ["src"]
[project.scripts]
locutus = "locutus.main:main"
[tool.ruff]
line-length = 80
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # pyflakes
"I", # import sort
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
]
ignore = [
"E101"
]
[tool.ruff.format]
indent-style = "tab"
quote-style = "single"
line-ending = "lf"
[tool.mypy]
python_version = "3.11"
ignore_missing_imports = true
strict = true