-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
56 lines (50 loc) · 1.38 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
[tool.poetry]
name = "SubscribeProxy"
version = "0.1.0"
description = "订阅代理工具,统一管理订阅,定时下载并存储订阅信息,自动进行订阅转换,并提供代理服务"
authors = ["modestme"]
readme = "README.md"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Topic :: Internet :: Proxy Servers",
"Topic :: Utilities",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.11",
"Operating System :: OS Independent"
]
[[tool.poetry.source]]
name = "pypi_mirror"
url = "https://pypi.tuna.tsinghua.edu.cn/simple/"
priority = "primary"
[tool.poetry.dependencies]
python = "^3.11"
fastapi = "^0.115.2"
uvicorn = "^0.31.1"
pyyaml = "^6.0.2"
apscheduler = "^3.10.4"
pydantic-settings = "^2.6.0"
aiohttp = "^3.10.10"
nest-asyncio = "^1.6.0"
colorama = "^0.4.6"
[tool.poetry.group.dev.dependencies]
ruff = "^0.6.4"
mypy = "^1.11.2"
[tool.ruff]
# 设置 Python 的目标版本
target-version = "py311"
# 排除的路径列表
exclude = [".venv", "tests", "build"]
# 最大行长度
line-length = 120
# 选择需要启用的规则
[tool.ruff.lint]
select = ["E", "F", "N"]
pydocstyle.convention = "google"
[tool.mypy]
ignore_missing_imports = true
strict = true
disallow_untyped_defs = true
check_untyped_defs = true
exclude = "^(tests/|build/)"