-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
75 lines (64 loc) · 1.77 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[project]
name = "auto-config"
dynamic = ["version"]
description = "auto config for my personal devices"
authors = [
{name = "Zhan Rongrui", email = "2742392377@qq.com"},
]
dependencies = [
"pydantic>=2.5.3",
"typer>=0.12.0",
"loguru>=0.7.2",
"toml>=0.10.2",
]
requires-python = ">=3.10"
readme = "README.md"
license = {text = "MIT"}
classifiers = [
"Environment :: Console",
"Operating System :: OS Independent",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Typing :: Typed",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
]
[project.urls]
Homepage = "https://pypi.org/project/auto-config"
Repository = "https://github.com/zrr1999/auto-config.git"
[project.scripts]
auto-config = "auto_config.__main__:app"
[tool.pdm.version]
source = "scm"
write_to = "auto_config/__version__.py"
write_template = "__version__ = '{}'"
[tool.pdm.build]
includes = ["auto_config"]
[tool.uv]
dev-dependencies = [
"ruff",
"xdoctest",
"pytest",
"pytest-mock",
"pytest-cov",
"pytest-codspeed",
]
[tool.ruff]
line-length = 100
src = ["auto_config", "tests"]
target-version = "py311"
[tool.ruff.lint]
select = ["F", "I", "B", "C4", "PGH", "RUF", "W", "YTT"]
ignore = ["F841", "PGH003"]
[tool.ruff.lint.isort]
known-first-party = ["auto_config"]
required-imports = ["from __future__ import annotations"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "I002"]
[build-system]
requires = ["pdm-backend", "pdm-pyfuture"]
build-backend = "pdm.backend"