You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
1.5 KiB
73 lines
1.5 KiB
[project]
|
|
name = "bsv"
|
|
authors = [
|
|
{name="Simon Boyé", email="sim.boye@gmail.com"},
|
|
]
|
|
description = "Backup, Synchronization, Versioning."
|
|
readme = "README.md"
|
|
# Might relax this in the future, but requires testing
|
|
requires-python = ">=3.11"
|
|
classifiers = [
|
|
# TODO
|
|
]
|
|
dynamic = ["version"]
|
|
dependencies = [
|
|
"fastcdc",
|
|
"rich",
|
|
"tomlkit",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
test = [
|
|
"pytest",
|
|
"hypothesis",
|
|
]
|
|
|
|
[project.urls]
|
|
"Homepage" = "https://git.draklia.net/draklaw/pybsv"
|
|
"Bug Tracker" = "https://git.draklia.net/draklaw/pybsv/issues"
|
|
|
|
[project.scripts]
|
|
bsv = "bsv.main:main"
|
|
|
|
|
|
[tool.ruff]
|
|
target-version = "py311"
|
|
|
|
[tool.ruff.lint]
|
|
select = [
|
|
"B", # flake8-bugbear
|
|
"D", # pydocstyle
|
|
"DOC", # pydoclint
|
|
"E", # pycodestyle
|
|
"EM", # flake8-errmsg
|
|
"F", # Pyflakes
|
|
"FURB", # refurb
|
|
"G", # flake8-logging-format
|
|
"I", # isort
|
|
"ISC", # flake8-implicit-str-concat
|
|
"LOG", # flake8-logging
|
|
"N", # pep8-naming
|
|
"PERF", # Perflint
|
|
"PT", # flake8-pytest-style
|
|
"PTH", # flake8-use-pathlib
|
|
"S", # flake8-bandit
|
|
"SIM", # flake8-simplify
|
|
"TC", # flake8-type-checking
|
|
"UP", # pyupgrade
|
|
"W", # pycodestyle
|
|
]
|
|
|
|
[tool.ruff.lint.isort]
|
|
required-imports = ["from __future__ import annotations"]
|
|
|
|
[tool.ruff.lint.pydocstyle]
|
|
convention = "google"
|
|
|
|
|
|
[build-system]
|
|
requires = ["setuptools", "setuptools-scm"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.setuptools_scm]
|
|
version_file = "src/bsv/_version.py"
|
|
|