-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
71 lines (57 loc) · 1.77 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
[build-system]
requires = ['setuptools', 'setuptools-scm']
build-backend = "setuptools.build_meta"
[project]
name = "spox"
description = "A framework for constructing ONNX computational graphs."
authors = [
{ name = "Jakub Bachurski", email = "[email protected]" },
{ name = "Christian Bourjau", email = "[email protected]" },
]
maintainers = [
{ name = "Jakub Bachurski", email = "[email protected]" },
{ name = "Christian Bourjau", email = "[email protected]" },
]
keywords = ["machine-learning", "onnx"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
dynamic = ["version"]
requires-python = ">=3.9"
dependencies = ["numpy", "onnx>=1.13", "packaging"]
[project.urls]
Source = "https://github.com/quantco/spox"
[project.readme]
file = "README.md"
content-type = "text/markdown"
[tool.setuptools_scm]
version_scheme = "post-release"
[tool.setuptools]
include-package-data = true
package-dir = { "" = "src" }
[tool.setuptools.packages.find]
where = ["src"]
namespaces = false
[tool.ruff.lint]
# Enable the isort rules.
extend-select = ["I", "UP"]
[tool.ruff.lint.isort]
known-first-party = ["spox"]
[tool.mypy]
python_version = "3.9"
ignore_missing_imports = true
no_implicit_optional = true
check_untyped_defs = true
[tool.pytest.ini_options]
# This will be pytest's future default.
addopts = "--import-mode=importlib"
filterwarnings = [
# Protobuf warning seen when running the test suite
"ignore:.*Type google.protobuf.pyext.*:DeprecationWarning:.*",
]