-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
90 lines (81 loc) · 1.96 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[project]
name = "fastapi_config"
authors = [
{ name = "Atomi", email = "1456417373@qq.com" },
]
description = "FastAPI-Config is a visual dynamic configuration management extension based on FastAPI-Amis-Admin."
readme = "README.md"
requires-python = ">=3.8"
dynamic = ["version"]
keywords = [
"FastAPI-Amis-Admin",
"FastAPI-Config",
"Python-Config",
]
classifiers = [
"Framework :: FastAPI",
"Environment :: Web Environment",
"Topic :: System :: Systems Administration",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
dependencies = [
"fastapi-amis-admin>=0.6.4",
"asyncer>=0.0.1",
"sqlalchemy-database>=0.1.1",
]
[project.urls]
Source = "https://github.com/amisadmin/fastapi_config"
FastAPI-Amis-Admin = "https://github.com/amisadmin/fastapi_amis_admin"
[project.optional-dependencies]
test = [
"pytest>=7.1.3",
"aiosqlite>=0.17.0",
"pytest-asyncio>=0.19.0",
]
demo = [
"pydantic[email]>=1.10.1",
"uvicorn>=0.18.3",
]
[build-system]
requires = ["pdm-pep517>=1.0.0"]
build-backend = "pdm.pep517.api"
[tool]
[tool.pdm]
[tool.pdm.version]
source = "file"
path = "fastapi_config/__init__.py"
[tool.pdm.build]
# File patterns to include, the paths are relative to the project root.
includes = [
"fastapi_config/**",
]
[tool.pdm.dev-dependencies]
dev = [
"pytest>=7.1.3",
"pre-commit>=2.20.0",
]
[tool.pdm.scripts]
lint = "pre-commit run --all-files"
test= "pytest"
[tool.isort]
profile = "black"
atomic = true
filter_files = true
[tool.black]
line-length = 130
include = '\.pyi?$'
# pytest
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = [
"tests",
]
# pytest-asyncio
asyncio_mode = "auto"