-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathpyproject.toml
119 lines (105 loc) · 2.9 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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "modal"
description = "Python client library for Modal"
readme = "README.md"
dynamic = ["version"]
requires-python = ">=3.9"
license = {text = "Apache-2.0"}
authors = [
{ name = "Modal Labs", email = "[email protected]" }
]
dependencies = [
"aiohttp",
"certifi",
"click>=8.1.0",
"fastapi",
"grpclib==0.4.7",
"protobuf>=3.19,<6.0,!=4.24.0",
"rich>=12.0.0",
"synchronicity~=0.9.10",
"toml",
"typer>=0.9",
"types-certifi",
"types-toml",
"watchfiles",
"typing_extensions~=4.6"
]
keywords = ["modal", "client", "cloud", "serverless", "infrastructure"]
classifiers = [
"Topic :: System :: Distributed Computing",
"Operating System :: OS Independent",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3"
]
[project.urls]
Homepage = "https://modal.com"
Source = "https://github.com/modal-labs/modal-client"
Documentation = "https://modal.com/docs"
"Issue Tracker" = "https://github.com/modal-labs/modal-client/issues"
[project.scripts]
modal = "modal.__main__:main"
[tool.setuptools.packages.find]
include = ["modal", "modal.*", "modal_docs", "modal_docs.*", "modal_version", "modal_proto"]
exclude = ["test*", "modal_global_objects"]
[tool.setuptools.package-data]
modal = ["requirements/*.md", "requirements/*.txt", "requirements/*.json", "py.typed", "*.pyi"]
modal_proto = ["*.proto", "py.typed", "*.pyi"]
[tool.setuptools.dynamic]
version = {attr = "modal_version.__version__"}
[tool.mypy]
python_version = "3.11"
exclude = "build"
ignore_missing_imports = true
check_untyped_defs = true
no_strict_optional = true
namespace_packages = true
[[tool.mypy.overrides]]
module = [
"modal/_vendor/cloudpickle",
"modal/_vendor/tblib",
"modal/_vendor/a2wsgi_wsgi",
]
ignore_errors = true
[tool.pytest.ini_options]
timeout = 300
addopts = "--ignore=modal/cli/programs"
filterwarnings = [
"error::DeprecationWarning",
"ignore:Type google._upb.*MapContainer uses PyType_Spec.*Python 3.14:DeprecationWarning",
"error::modal.exception.DeprecationError",
"ignore::DeprecationWarning:pytest.*:",
"ignore::DeprecationWarning:pkg_resources.*:",
"ignore::DeprecationWarning:google.rpc.*:",
"ignore:.*pkg_resources.*:DeprecationWarning::",
]
[tool.ruff]
extend-include = ["*.pyi"]
exclude = [
'.venv',
'.git',
'__pycache__',
'proto',
'build',
'modal_proto',
'modal/_vendor',
]
line-length = 120
lint.ignore = ['E741']
lint.select = ['E', 'F', 'W', 'I']
[tool.ruff.lint.per-file-ignores]
"*_test.py" = ['E712']
"test/supports/notebooks/*.py" = ['E402']
[tool.ruff.lint.isort]
combine-as-imports = true
known-first-party = [
"modal",
"modal_global_objects",
"modal_proto",
"modal_version",
]
extra-standard-library = ["pytest"]
[tool.pyright]
reportUnnecessaryComparison = true