-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
119 lines (109 loc) · 2.95 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
109
110
111
112
113
114
115
116
117
118
119
[project]
name = "pare"
version = "0.3.2"
authors = [
{ name = "Caelean Barnes", email = "caeleanb@gmail.com" },
{ name = "Evan Doyle", email = "evanmdoyle@gmail.com" },
]
description = "Effortless serverless Python"
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance",
]
dependencies = [
"rich~=13.0",
"pydantic~=2.0",
"stdlib-list>=0.10.0; python_version < '3.10'",
"eval-type-backport>=0.2.0; python_version < '3.10'",
"requests~=2.32",
"aiohttp~=3.9",
"environs~=11.0",
]
keywords = ['python', 'lambda', 'aws', 'serverless', 'fastapi']
[project.optional-dependencies]
dev = [
# Core deps (pinned)
"pyyaml==6.0.1",
"pydantic==2.8.2",
"rich==13.7.1",
"fastapi==0.111.1",
"tach==0.10.0",
"boto3==1.34.145",
"boto3-stubs==1.34.145",
"boto3-stubs-lite==1.34.145",
# unpinned for API server
"gunicorn",
"python-multipart",
"sqlalchemy",
"alembic",
"asyncpg",
# Setup
"pip==24.0",
# Code Quality
"pyright==1.1.373",
"ruff==0.5.2",
# Build/Release
"setuptools==69.5.1",
"twine==5.1.1",
"build==1.2.1",
# Tests
"pytest==8.2.2",
"pytest-mock==3.14.0",
"coverage==7.6.0",
]
[project.urls]
Homepage = "https://github.com/gauge-sh/pare"
Issues = "https://github.com/gauge-sh/pare/issues"
[tool.ruff]
target-version = "py38"
exclude = [
"**/__pycache__",
"**/.venv",
"**/alembic",
"api/src/transform/template.py",
]
lint.extend-select = ["I", "TCH", "UP"]
[tool.ruff.lint.isort]
required-imports = ["from __future__ import annotations"]
[tool.ruff.lint.flake8-type-checking]
runtime-evaluated-base-classes = ["pydantic.BaseModel", "pydantic.RootModel"]
runtime-evaluated-decorators = [
"pydantic.dataclasses.dataclass",
"dataclasses.dataclass",
]
exempt-modules = ["typing", "typing_extensions"]
[tool.pyright]
exclude = [
"**/__pycache__",
"**/.venv",
"**/tests",
"**/alembic",
"api/src/transform/template.py",
"api/scripts",
]
executionEnvironments = [{ "root" = "api" }, { "root" = "pkg" }]
strict = ["."]
pythonVersion = "3.12"
[project.scripts]
pare = "pare.cli.main:main"
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["pkg"]
include = ["pare*"]