This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
/
pyproject.toml
107 lines (95 loc) · 1.83 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
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
107
[build-system]
requires = ["setuptools>=61.0.0"]
build-backend = "setuptools.build_meta"
[project]
name = "PaddleSOT"
version = "0.0.1a0"
description = "A Bytecode level Implementation of Symbolic OpCode Translator For PaddlePaddle"
readme = "README.md"
requires-python = ">=3.7,<3.12"
authors = [
{name = "PaddlePaddle", email = "[email protected]"},
]
keywords = ["Framework", "Deep Learning", "JIT"]
license = { file = "LICENSE" }
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Operating System :: OS Independent",
]
[project.optional-dependencies]
dev = [
"xdoctest"
]
paddle-test = [
"opencv-python",
"scipy",
"pyyaml",
"gym==0.26.2",
]
[tool.setuptools.packages]
find = {}
[tool.black]
line-length = 80
skip-string-normalization = true
[tool.isort]
profile = "black"
line_length = 80
known_first_party = ["paddle", "sot"]
[tool.ruff]
target-version = "py37"
select = [
# Pycodestyle
"E",
"W",
# Pyflakes
"F",
# Comprehensions
"C4",
# Pyupgrade
"UP",
# Bugbear
"B002",
"B003",
"B004",
"B009",
"B010",
"B011",
"B012",
"B013",
"B014",
"B015",
"B016",
"B017",
"B018",
"B019",
"B020",
"B021",
"B022",
"B025",
"B029",
"B032",
# Pylint
"PLE",
"PLC0414",
"PLC3002",
"PLR0206",
"PLR0402",
]
ignore = [
"E402",
"E501",
"E722",
"E731",
"E741",
"F841",
"UP015",
"UP038",
]
[tool.ruff.per-file-ignores]
"tests/test_dup_top.py" = ["E712"]