This repository has been archived by the owner on Sep 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
73 lines (65 loc) · 1.85 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
[tool.poetry]
name = "interval-sdk"
version = "1.5.1"
description = "The frontendless framework for high growth companies. Interval automatically generates apps by inlining the UI in your backend code. It's a faster and more maintainable way to build internal tools, rapid prototypes, and more."
authors = [
"Jacob Mischka <[email protected]>",
"Ryan Coppolo <[email protected]>",
]
maintainers = [
"Jacob Mischka <[email protected]>",
"Ryan Coppolo <[email protected]>",
]
readme = "README.md"
homepage = "https://interval.com"
documentation = "https://interval.com/docs"
repository = "https://github.com/interval/interval-py"
keywords = ["internal tool", "app", "ui", "ui builder"]
[tool.poe.tasks]
demo = { script = 'demos:main' }
test = "pytest -n auto --maxprocesses 8 --dist loadgroup"
check = "pyright"
lint = "pylint src/"
ruff = "ruff src/"
format = "black src/"
dump_schema = { script = 'interval_sdk.io_schema:dump_all_methods' }
[tool.poetry.dependencies]
python = "^3.9"
websockets = "^10.1"
pydantic = "^1.9.0"
aiohttp = "^3.8.1"
aiodns = {version = "^3.0.0", optional = true}
typing-extensions = "^4.4.0"
[tool.poetry.group.dev.dependencies]
black = "^22.1.0"
pylint = "^2.12.2"
poethepoet = "^0.13.1"
aiodns = "^3.0.0"
[tool.poetry.group.test.dependencies]
pytest = "^7.1.1"
pytest-xdist = "^3.1.0"
pytest-asyncio = "^0.18.2"
pytest-playwright = "^0.3.0"
playwright = "^1.20.0"
faker = "^16.4.0"
boto3 = "^1.26.51"
[tool.pyright]
exclude = [
"**/node_modules",
"**/__pycache__",
"**/.venv",
"examples",
"releases",
]
[tool.ruff]
ignore = [
"E501", # line length violations
"E722", # bare except
"E401", # multiple imports on same line
]
# Ignore import violations in all `__init__.py` files
[tool.ruff.per-file-ignores]
"__init__.py" = ["E402", "F401", "F403"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"