-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
93 lines (85 loc) · 1.96 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
[tool.black]
line-length = 120
target-version = ['py37']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
)
'''
[tool.mypy]
exclude = [
'^launch/clientlib/',
'^launch/api_client/'
]
[tool.poetry]
name = "scale-launch"
version = "1.1.0"
description = "The official Python client library for Launch, the Data Platform for AI"
authors = ["Your Name <you@example.com>"]
readme = "README.md"
homepage = "https://scale.com/"
repository = "https://github.com/scaleapi/launch-python-client"
packages = [{ include = "launch" }]
[tool.poetry.dependencies]
python = "^3.8"
cloudpickle = "^2.0.0"
requests = "^2.25.1"
dataclasses-json = "^0.5.7"
rich = "^12.0.0"
deprecation = "^2.1.0"
python-dateutil = "^2.8.2"
pyyaml = ">=5.3.1,<7.0.0"
typing-extensions = "^4.1.1"
frozendict = "^2.3.4"
pydantic = "^2.7"
types-frozendict = "^2.0.9"
questionary = "^1.10.0"
click = ">=7.1.2" # type:
urllib3 = "^1.26.7"
sseclient-py = "^1.7.2"
[tool.poetry.scripts]
scale-launch = 'launch.cli.bin:entry_point'
[tool.poetry.group.dev.dependencies]
black = "^23.1.0"
mypy = "^1.10.1"
isort = "^5.10.1"
pylint = "^2.12.2"
pytest = "^7.1.1"
pre-commit = "^2.17.0"
coverage = "^6.3.2"
types-setuptools = "^57.4.11"
types-requests = "^2.27.13"
types-pyyaml = "^6.0.5"
requests_mock = "^1.9.3"
ruff = "^0.0.252"
mkdocs = "^1.4.2"
mkdocs-material = "^9.0.14"
mkdocs-simple-hooks = "^0.1.5"
mkdocstrings = {extras = ["python"], version = "^0.20.0"}
mdx-include = "^1.4.2"
pytest-mock = "^3.10.0"
[tool.pytest.ini_options]
log_cli = true
log_cli_level = "INFO"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 120
extend-select = ['Q']
flake8-quotes = {inline-quotes = 'double', multiline-quotes = 'double'}
exclude = [
"launch/api_client",
]