-
Notifications
You must be signed in to change notification settings - Fork 9
/
pyproject.toml
37 lines (32 loc) · 1.05 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
[project]
name = "substrait"
description = "A python package for Substrait."
authors = [{name = "Substrait contributors", email = "[email protected]"}]
license = {text = "Apache-2.0"}
readme = "README.md"
requires-python = ">=3.8.1"
dependencies = ["protobuf >= 3.20"]
dynamic = ["version"]
[tool.setuptools_scm]
write_to = "src/substrait/_version.py"
[project.optional-dependencies]
extensions = ["antlr4-python3-runtime"]
gen_proto = ["protobuf == 3.20.1", "protoletariat >= 2.0.0"]
test = ["pytest >= 7.0.0", "antlr4-python3-runtime"]
[tool.pytest.ini_options]
pythonpath = "src"
testpaths = "tests"
[build-system]
requires = ["setuptools>=61.0.0", "setuptools_scm[toml]>=6.2.0"]
build-backend = "setuptools.build_meta"
[tool.ruff]
respect-gitignore = true
# should target minimum supported version
target-version = "py38"
# never autoformat upstream or generated code
exclude = ["third_party/", "src/substrait/gen"]
# do not autofix the following (will still get flagged in lint)
unfixable = [
"F401", # unused imports
"T201", # print statements
]