-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (100 loc) · 2.68 KB
/
Copy pathpyproject.toml
File metadata and controls
106 lines (100 loc) · 2.68 KB
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
[build-system]
build-backend = "maturin"
requires = [ "maturin>=1,<2" ]
[project]
name = "ptars"
description = "Convert from protobuf to arrow and back in rust"
readme = "README.md"
keywords = [ "apache-arrow", "data", "protobuf", "rust" ]
license = { text = "Apache-2.0" }
maintainers = [
{ name = "0x26res", email = "0x26res@gmail.com" },
]
authors = [
{ name = "0x26res", email = "0x26res@gmail.com.co" },
]
requires-python = "<4.0,>=3.10"
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Rust",
]
dynamic = [ "version" ]
dependencies = [
"googleapis-common-protos",
"protobuf",
"pyarrow",
]
urls.changelog = "https://github.com/0x26res/ptars/releases"
urls.code-of-conduct = "https://github.com/0x26res/ptars/blob/main/CODE_OF_CONDUCT.md"
urls.contributing = "https://github.com/0x26res/ptars/blob/main/CONTRIBUTING.md"
urls.documentation = "https://ptars.readthedocs.io/en/latest/"
urls.issues = "https://github.com/0x26res/ptars/issues"
urls.repository = "https://github.com/0x26res/ptars"
[dependency-groups]
dev = [
"bump-my-version>=0.28",
"coverage>=6.5",
"git-changelog>=2.2",
"inflection>=0.5.1",
"mkdocs>=1.4.2",
"mkdocs-material>=9.0.3",
"mkdocstrings[python]>=0.21.2",
"pandas",
"pipdeptree",
"prek>=0.3.1",
"pylint>=2.15",
"pytest>=7.2",
"pytest-benchmark>=4",
"pytest-xdist>=3.1",
"ruff",
"tabulate",
"ty",
"types-protobuf",
{ include-group = "test" },
]
test = [
"coverage",
"grpcio-tools>=1.46",
"maturin",
"protarrow",
"pytest",
]
docs = [
"mkdocs>=1.4.2",
"mkdocs-material>=9.0.3",
"mkdocstrings[python]>=0.21.2",
]
[tool.maturin]
module-name = "ptars._lib"
bindings = "pyo3"
python-source = "python"
python-packages = [ "ptars" ]
manifest-path = "ptars-python/Cargo.toml"
include = [ "LICENSE", "python/ptars/py.typed" ]
exclude = [ ".**", ".github/**", "python/test/**", "sdist/**" ]
features = [ "pyo3/extension-module" ]
[tool.ruff]
target-version = "py310"
lint.select = [ "B", "C", "E", "F", "I", "RET", "UP" ]
lint.ignore = [
"RET505", # Control the flow with if/elif/else, not return/raise/continue/break
"RET506",
"RET507",
"RET508",
]
[tool.isort]
profile = "black"
known_first_party = [ "ptars", "ptars_protos" ]
src_paths = [ "ptars", "tests" ]
skip = [ ".gitignore" ]
[tool.bandit]
skips = [ "B101" ]