-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
108 lines (98 loc) · 2.55 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "starmallow"
description = "StarMallow framework"
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
authors = [
{ name = "Michiel Vanderlee", email = "[email protected]" },
]
classifiers = [
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python",
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development",
"Typing :: Typed",
"Development Status :: 3 - Alpha",
"Environment :: Web Environment",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Internet :: WWW/HTTP",
]
dependencies = [
"apispec[marshmallow] >=6,<7",
"dpath >=2.1.0,<3",
"marshmallow >=3.18.0,<4",
"marshmallow-dataclass >=8.5.1,<9",
"python-multipart >=0.0.5,<0.0.7",
"pyyaml >=5.4.1",
"starlette >=0.35,<1",
]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/mvanderlee/starmallow"
[project.optional-dependencies]
all = [
"orjson",
"ujson >=3.2.1",
"uvicorn[standard] >=0.12.0",
]
test = [
"coverage[toml] >= 6.5.0,< 8.0",
"httpx >=0.22.0",
"isort >=5.0.6,<6.0.0",
"mypy>=1.1.1,<2",
"pytest >=7.1.3,<8.0.0",
"ruff ==0.0.260",
]
dev = [
"isort >=5.0.6,<6.0.0",
"ruff ==0.0.260",
"uvicorn[standard] >=0.17.0,<0.22.0",
"pre-commit >=3.2.0,<4",
]
publish = [
"hatch >= 1.7.0",
]
[tool.hatch.version]
path = "starmallow/__init__.py"
[tool.isort]
profile = "hug"
line_length = 100
[tool.coverage.run]
parallel = true
source = [
"tests",
"starmallow"
]
[tool.ruff]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
# "I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
ignore = [
"B008", # do not perform function calls in argument defaults
"B028", # No explicit stacklevel argument found.
"C901", # too complex
]
line-length = 130 # Enforce 130. But ~100 is recommended.
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]