forked from vlm-run/vlmrun-hub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
84 lines (74 loc) · 2.61 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "vlmrun-hub"
description = "VLM Run Hub for various industry-specific schemas"
authors = [{name = "VLM Support", email = "[email protected]"}]
readme = "README.md"
requires-python = ">=3.9"
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research","Topic :: Software Development :: Libraries",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Image Processing",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
license = {text = "Apache-2.0"}
dynamic = ["version", "dependencies", "optional-dependencies"]
[project.urls]
homepage = "https://github.com/vlm-run/vlmrun-hub"
repository = "https://github.com/vlm-run/vlmrun-hub"
documentation = "https://docs.vlm.run/hub"
[pytest]
log_cli = true
log_cli_level = "INFO"
[tool.pytest.ini_options]
addopts = "--show-capture=no -sv -m 'not (skip) and not (benchmark)' -p no:warnings"
markers = [
"skip: Skip test",
"benchmark: Benchmark tests",
]
[tool.setuptools.dynamic]
version = {attr = "vlmrun.hub.version.__version__"}
dependencies = {file = ["requirements/requirements.txt"]}
[tool.setuptools.dynamic.optional-dependencies]
test = {file = ["requirements/requirements.test.txt"]}
build = {file = ["requirements/requirements.build.txt"]}
extra = {file = ["requirements/requirements.extra.txt"]}
all = {file = ["requirements/requirements.test.txt", "requirements/requirements.build.txt", "requirements/requirements.extra.txt"]}
[tool.setuptools.packages.find]
where = ["."]
include = [
"vlmrun.hub*",
"vlmrun.hub.schemas*",
"vlmrun.hub.schemas.contrib*"
]
namespaces = true
[tool.black]
line-length = 120
[tool.ruff]
# Enable pycodestyle (`E`) and Pyflakes (`F`) codes by default.
lint.select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
lint.ignore = [
"E501", # E501: Line too long
"C901", # C901: Function is too complex
"B008", # do not perform function calls in argument defaults
"B904", # B904: check for raise from None
]