-
Notifications
You must be signed in to change notification settings - Fork 78
/
pyproject.toml
62 lines (55 loc) · 1.26 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
[project]
name = "nebula3-python"
version = "3.8.2"
description = "Python client for NebulaGraph v3"
authors = [
{name = "vesoft-inc", email = "info@vesoft.com"},
]
dependencies = [
"future >= 0.18.0",
"httplib2 >= 0.20.0",
"pytz >= 2021.1",
"six >= 1.16.0",
"httpx[http2] >= 0.22.0",
]
requires-python = ">=3.6.2"
readme = "README.md"
license = {text = "Apache 2.0"}
[project.urls]
Homepage = "https://github.com/vesoft-inc/nebula-python"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.black]
extend-exclude = '''
/(
nebula3/common
| nebula3/storage
| nebula3/graph
| nebula3/meta
| nebula3/common
| nebula3/fbthrift
| docs/source
)/
'''
[tool.pdm]
distribution = true
[tool.pdm.build]
includes = ["nebula3"]
[tool.pdm.dev-dependencies]
dev = [
"black==22.8.0",
]
test = [
"pytest; python_full_version >= \"3.7.1\"",
"pytest-cov; python_full_version >= \"3.7.1\"",
]
example = [
"prettytable; python_version >= \"3.10\"",
"pandas; python_version >= \"3.10\"",
]
[tool.pdm.scripts]
fmt = "black -S ."
fmt-check = "black -S --check ."
test = 'pytest -s -v -k "not SSL" --cov=nebula3/ --cov-report=xml --cov-append'
test-ssl = 'pytest -s -v -k "SSL" --cov=nebula3/ --cov-report=xml --cov-append'