-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
71 lines (60 loc) · 1.62 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
[project]
name = "restcraft"
dynamic = ["version"]
description = "A minimalist Python WSGI framework for building RESTful APIs."
authors = [
{name = "Lucas Santana", email = "lsfratel@gmail.com"},
]
dependencies = []
requires-python = ">=3.10"
readme = "README.md"
license = {text = "MIT"}
urls = { source = "https://github.com/lsfratel/restcraft" }
classifiers = [
"Development Status :: 3 - Alpha",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Internet :: WWW/HTTP :: WSGI",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Server",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Programming Language :: Python :: 3",
]
keywords = [
"wsgi",
"framework",
"rest",
"api",
]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[dependency-groups]
lint = [
"ruff>=0.7.4",
"mypy>=1.13.0",
]
test = [
"pytest>=8.3.3",
"pytest-cov>=6.0.0",
]
[tool.ruff]
select = ["B", "C4", "E", "F", "I", "W", "UP"]
ignore = ["E501", "W191", "B006", "B009", "B010", "B019"]
include = ["**/*.py", "**/*.pyi", "**/pyproject.toml"]
[tool.ruff.pydocstyle]
convention = "google"
[tool.mypy]
strict = true
[tool.pdm]
distribution = true
[tool.pdm.version]
source = "file"
path = "src/restcraft/__version__.py"
[tool.pdm.scripts]
lint = "ruff ."
fmt = "ruff format ."