chore(lint)
https://docs.astral.sh/ruff/rules/line-too-long/ https://github.com/astral-sh/ruff/issues/1911 bitdori/test#1
This commit is contained in:
parent
b61b8e0d65
commit
8ac901abaa
6 changed files with 339 additions and 11 deletions
|
|
@ -5,3 +5,36 @@ description = "Add your description here"
|
|||
readme = "README.md"
|
||||
requires-python = ">=3.14"
|
||||
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",
|
||||
"F",
|
||||
"I",
|
||||
"UP",
|
||||
"B",
|
||||
]
|
||||
|
||||
[tool.ruff.lint.isort]
|
||||
known-first-party = ["ddns"]
|
||||
|
||||
[tool.ruff.format]
|
||||
quote-style = "double"
|
||||
indent-style = "space"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue