This repository has been archived by the owner on Feb 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathpyproject.toml
87 lines (76 loc) · 1.83 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
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[project]
name = "bentoctl"
description = "Fast model deployment with BentoML on cloud platforms."
authors = [
{name = "bentoml.org", email = "[email protected]"},
]
requires-python = ">=3.8,<4.0"
dependencies = [
"bentoml>=1.0.24,<2",
"click>=8",
"cerberus<2,>=1",
"rich==12.*",
"PYYAML>=6",
"simple-term-menu==0.4.4",
"docker>=5",
"semantic-version<3.0.0,>=2.9.0",
]
readme = "README.md"
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development",
]
license = {text = "Apache-2.0"}
dynamic = ["version"]
[project.urls]
Source = "https://github.com/bentoml/bentoctl"
"User Slack community" = "http://join.slack.bentoml.org"
"Bug Reports" = "https://github.com/bentoml/bentoctl/issues"
Homepage = "https://github.com/bentoml/bentoctl"
[project.scripts]
bentoctl = "bentoctl.cli:bentoctl"
[tool.isort]
profile = "black"
[tool.black]
line-length = 88
target-version = ["py38", "py39", "py310", "py311"]
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.pdm.dev-dependencies]
dev = [
"flake8>=3.8.2",
"black",
"isort>=5",
"pytest>=7",
"pytest-cov>=3",
]
[tool.pdm.build]
includes = ["bentoctl"]
[tool.pdm.version]
source = "scm"
[tool.pdm.scripts]
lint.shell = "black -S --check . && flake8 ."
format = "black -S ."
test = "pytest tests/unit --cov=bentoctl --cov-config=.coveragerc --cov-report=xml:unit.xml"
[tool.pytest.ini_options]
asyncio_mode = "strict"