This commit is contained in:
+28
-9
@@ -1,10 +1,29 @@
|
||||
[tool.black]
|
||||
line-length = 80
|
||||
target-version = ['py38']
|
||||
include = '.pyi?$'
|
||||
[project]
|
||||
name = "gitea-mirror"
|
||||
version = "0.1.0"
|
||||
description = "Mirror Gitea repositories locally."
|
||||
readme = "Readme.md"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = [
|
||||
"pydantic>=2.0",
|
||||
"requests>=2.32",
|
||||
]
|
||||
|
||||
[tool.isort]
|
||||
profile = "black"
|
||||
py_version = "auto"
|
||||
sections = "FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER"
|
||||
known_local_folder = "src"
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"pre-commit>=4.0",
|
||||
"pre-commit-hooks>=6.0",
|
||||
"pytest>=8.0",
|
||||
"pytest-cov>=7.0",
|
||||
"ruff>=0.14",
|
||||
]
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 80
|
||||
target-version = "py312"
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = ["E", "F", "I"]
|
||||
|
||||
[tool.ruff.format]
|
||||
quote-style = "double"
|
||||
|
||||
Reference in New Issue
Block a user