-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (86 loc) · 1.74 KB
/
pyproject.toml
File metadata and controls
96 lines (86 loc) · 1.74 KB
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "edgekit"
authors = [
{ name = "t3tra", email = "t3tra@t3tra.dev" }
]
version = "0.1.1"
description = "Cloudflare Workers Python native SDK and builder toolkit"
readme = "README.md"
urls = { "Source" = "https://github.com/t3tra-dev/edgekit" }
requires-python = ">=3.12"
dependencies = [
"pyodide-py",
"webtypy",
"workers-py",
"workers-runtime-sdk",
]
[project.scripts]
edgekit = "edgekit.cli:main"
[dependency-groups]
dev = [
"edgekit",
"pyright>=1.1.408",
"ruff>=0.15.10",
]
[tool.uv]
cache-dir = ".cache/uv"
[tool.uv.workspace]
members = ["."]
[tool.uv.sources]
edgekit = { workspace = true, editable = true }
[tool.hatch.build.targets.wheel]
packages = ["src/edgekit"]
[tool.pyright]
pythonVersion = "3.12"
typeCheckingMode = "strict"
extraPaths = ["src", "examples/web-app/src"]
reportMissingModuleSource = false
reportMissingTypeStubs = false
exclude = [
".cache",
"build",
".uv-cache",
".venv",
".venv-workers",
".wrangler",
"python_modules",
"node_modules",
"**/build",
"**/.cache",
"**/.uv-cache",
"**/.venv",
"**/.venv-workers",
"**/.wrangler",
"**/python_modules",
"**/node_modules",
"**/__pycache__",
"**/.*",
]
[tool.ruff]
cache-dir = ".cache/ruff"
line-length = 120
exclude = [
".cache",
"build",
".uv-cache",
".venv",
".venv-workers",
".wrangler",
"python_modules",
"node_modules",
"**/build",
"**/.cache",
"**/.uv-cache",
"**/.venv",
"**/.venv-workers",
"**/.wrangler",
"**/python_modules",
"**/node_modules",
"**/__pycache__",
"**/.*",
]
[tool.ruff.lint]
select = ["E", "F", "W", "I"]