52 lines
1 KiB
TOML
52 lines
1 KiB
TOML
[project]
|
|
name = "ddns"
|
|
version = "0.1.0"
|
|
description = "Add your description here"
|
|
readme = "README.md"
|
|
requires-python = ">=3.14"
|
|
license = "LGPL-2.1-or-later"
|
|
dependencies = []
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"basedpyright>=1.39.9",
|
|
"black>=26.5.1",
|
|
"pre-commit>=4.6.0",
|
|
"ruff>=0.15.22",
|
|
]
|
|
|
|
[tool.pytest]
|
|
addopts = ["--import-mode=importlib"]
|
|
minversion = "9.0"
|
|
pythonpath = ["src"]
|
|
|
|
[tool.ruff]
|
|
line-length = 88
|
|
target-version = "py313"
|
|
|
|
[tool.ruff.lint]
|
|
select = [
|
|
"E", # pycodestyle errors
|
|
"W", # pycodestyle warnings
|
|
"F", # pyflakes
|
|
"I", # isort
|
|
"N", # pep8-naming
|
|
"UP", # pyupgrade
|
|
"B", # flake8-bugbear
|
|
"C4", # flake8-comprehensions
|
|
"PIE", # flake8-pie
|
|
"PT", # flake8-pytest-style
|
|
"RET", # flake8-return
|
|
"SIM", # flake8-simplify
|
|
"ARG", # flake8-unused-arguments
|
|
"PTH", # flake8-use-pathlib
|
|
"ERA", # eradicate
|
|
"RUF", # ruff-specific rules
|
|
]
|
|
|
|
[tool.ruff.lint.isort]
|
|
known-first-party = ["ddns"]
|
|
|
|
[tool.ruff.format]
|
|
quote-style = "double"
|
|
indent-style = "space"
|