-
Notifications
You must be signed in to change notification settings - Fork 39
/
pyproject.toml
163 lines (144 loc) · 3.53 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
[build-system]
requires = ["setuptools>=57", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "skillbridge"
authors = [
{name = "Niels Buwen", email = "[email protected]"},
{name = "Tobias Markus", email = "[email protected]"},
]
description = "A seamless Python remote bridge to Cadence's Skill in Virtuoso"
readme = {file = "README.md", content-type = "text/markdown"}
requires-python = ">=3.8"
dependencies = []
urls = {Repository = "https://github.com/unihd-cag/skillbridge"}
license = {file = "LICENSE"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: Information Technology",
"Operating System :: POSIX :: Linux",
"Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)",
"Topic :: Software Development",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
]
dynamic = ["version"]
[tool.setuptools.dynamic]
version = {attr = "skillbridge.version.__version__"}
[project.optional-dependencies]
dev = [
"pytest",
"pytest-coverage",
"hypothesis",
"mypy",
"ruff>=0.2.1",
]
doc = [
"sphinx"
]
[project.scripts]
skillbridge = "skillbridge.__main__:main"
[tool.setuptools.packages.find]
include = ["skillbridge*"]
namespaces = false
[tool.black]
skip-string-normalization = true
target-version = ["py38"]
include = ".*[.]py$"
exclude = "env"
line-length = 100
[tool.pytest.ini_options]
addopts = "--cov=skillbridge --cov-report=html --cov-report=term:skip-covered --cov-branch --no-cov-on-fail"
[tool.coverage.report]
precision = 2
exclude_also = ["raise NotImplementedError"]
[tool.mypy]
python_version = "3.8"
files = "skillbridge"
pretty = true
show_error_context = true
disallow_any_unimported = true
disallow_any_expr = false
disallow_any_decorated = false
disallow_any_explicit = false
disallow_any_generics = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
implicit_optional = false
strict_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_return_any = true
warn_unreachable = true
allow_untyped_globals = false
allow_redefinition = false
implicit_reexport = false
strict_equality = true
[tool.ruff]
preview = true
exclude = ["venv", "env", "build"]
line-length = 100
target-version = "py38"
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"A003",
"ANN10", "ANN401",
"B028",
"COM812",
"CPY001",
"D",
"EM101", "EM102",
"FBT001", "FBT002",
"G004",
"ISC001",
"N999",
"PD901",
"PLR0911", "PLR6301",
"PLW1641", "PLW3201",
"PT001", "PT013",
"PTH123",
"S101", "S108", "S310", "S311", "S404",
"T201",
"TCH001", "TCH002", "TCH003",
"TID252",
"TRY003", "TRY004", "TRY400",
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = [
"ANN",
"ARG001",
"PLR2004",
"S603", "S607",
"SLF001",
"PERF203",
"B017",
"PT011",
]
"update_version.py" = [
"S603",
"S607",
]
"docs/conf.py" = [
"INP001",
"A001",
]
"*" = [
"Q000",
]
[tool.ruff.lint.pylint]
max-args = 7
[tool.ruff.format]
docstring-code-format = true
quote-style = "preserve"