-
Notifications
You must be signed in to change notification settings - Fork 216
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (63 loc) · 2.03 KB
/
pyproject.toml
File metadata and controls
75 lines (63 loc) · 2.03 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
# Copyright (c) ONNX Project Contributors
#
# SPDX-License-Identifier: Apache-2.0
[build-system]
requires = ["setuptools>=61", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "onnxmltools"
dynamic = ["version"]
description = "Converts Machine Learning models to ONNX"
readme = "README.md"
license = "Apache-2.0"
authors = [
{name = "ONNX", email = "onnx-technical-discuss@lists.lfaidata.foundation"},
]
requires-python = ">=3.9"
dependencies = [
"numpy",
"onnx>=1.8.1",
"protobuf",
"skl2onnx>=1.4.9",
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
[project.urls]
Homepage = "https://github.com/onnx/onnxmltools"
Repository = "https://github.com/onnx/onnxmltools"
Issues = "https://github.com/onnx/onnxmltools/issues"
[tool.setuptools.dynamic]
version = {attr = "onnxmltools.__version__"}
[tool.setuptools.packages.find]
include = ["onnxmltools*"]
[tool.setuptools.package-data]
onnxmltools = ["**/*"]
[tool.ruff]
exclude = [
".eggs",
".git",
"build",
"dist",
]
# Same as Black.
line-length = 95
[tool.ruff.lint.mccabe]
max-complexity = 10
[tool.ruff.lint.per-file-ignores]
"**/__init__.py" = ["F401"]
"onnxmltools/convert/coreml/operator_converters/GLMClassifier.py" = ["E501"]
"onnxmltools/convert/coreml/operator_converters/SVC.py" = ["E501"]
"onnxmltools/convert/coreml/operator_converters/TensorToLabel.py" = ["E501"]
"onnxmltools/convert/coreml/operator_converters/TreeEnsemble.py" = ["E501"]
"onnxmltools/convert/coreml/operator_converters/neural_network/BidirectionalLSTM.py" = ["E501"]
"onnxmltools/convert/coreml/operator_converters/neural_network/GRU.py" = ["E501"]
"onnxmltools/convert/coreml/operator_converters/neural_network/SimpleRNN.py" = ["E501"]