-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
87 lines (76 loc) · 1.76 KB
/
pyproject.toml
File metadata and controls
87 lines (76 loc) · 1.76 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
#
# SPDX-FileCopyrightText: Copyright 2025 Arm Limited and/or its affiliates <open-source-office@arm.com>
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License v2.0
# See http://www.apache.org/licenses/LICENSE-2.0 for license information.
#
[project]
name = "tosa-adapter-model-explorer"
version = "0.1.0"
description = "Adapter for Model Explorer to support TOSA files"
readme = "README.md"
requires-python = ">=3.10, <3.14"
keywords = ["model-explorer", "tosa", "visualization"]
license = "Apache-2.0"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: POSIX",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"ai-edge-model-explorer>=0.1.26,<0.2.0",
"flatbuffers",
]
[project.urls]
Repository = "https://github.com/arm/tosa-adapter-model-explorer"
[dependency-groups]
dev = [
"pytest==9.0.1",
"pytest-timeout==2.4.0",
"ruff==0.14.2",
"pyright==1.1.407",
"ai-edge-model-explorer==0.1.28",
]
coverage = [
"pytest-cov==7.0.0",
]
build = [
"build==1.3.0"
]
[tool.pyright]
include = [
"src",
]
exclude = [
"src/tosa_adapter_model_explorer/tosa_1_0",
]
typeCheckingMode = "standard"
[tool.ruff]
line-length = 79
target-version = "py310"
exclude = [
"src/tosa_adapter_model_explorer/tosa_1_0",
]
[tool.ruff.lint]
# https://docs.astral.sh/ruff/rules/
select = [
"F", #Pyflakes
"B", #Bugbear
"I", #Isort
"SIM", #Simplify
"C4", #Comprehensions
]
[tool.pytest.ini_options]
pythonpath = "src"
testpaths = ["src/tosa_adapter_model_explorer/tests"]
[tool.coverage.run]
omit = [
"*/test_*",
"*/config.py",
"*/__init__.py",
"*/tosa_1_0_generated.py",
]