-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
121 lines (110 loc) · 2.95 KB
/
pyproject.toml
File metadata and controls
121 lines (110 loc) · 2.95 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
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
# Copyright (c) 2023-2026 Antmicro <www.antmicro.com>
# SPDX-License-Identifier: Apache-2.0
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "topwrap"
version = "0.0.1"
requires-python = ">=3.9"
authors = [{name = "Antmicro"}]
description = "Package for generating HDL wrappers and top modules for your HDL sources"
readme = "README.md"
license = {file = "LICENSE"}
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
dependencies = [
"PyYAML",
"click",
"amaranth==0.4.0.*",
"amaranth-soc @ git+https://github.com/antmicro/amaranth-soc@236384fcaee6e3d192aedcf6ff119d90c5f56046",
"amaranth-yosys==0.40.0.0.post103",
"simpleeval",
"typing_extensions",
"marshmallow>=3.20,<4.0",
"marshmallow-dataclass[enum]~=8.7.0",
"pygtrie",
"pyslang",
"pipeline_manager_backend_communication @ git+https://github.com/antmicro/kenning-pipeline-manager-backend-communication@b39681ee785d7c094b78226243c44fe956e12d76",
"pipeline_manager @ git+https://github.com/antmicro/kenning-pipeline-manager@5e05d9e91c7256ee174674d0b8e46ca20c5a3bbd",
"topwrap_axi_core_plugin @ https://github.com/antmicro/topwrap-cores/releases/download/tip/topwrap_axi_core_plugin-0.0.1-py3-none-any.whl"
]
[project.optional-dependencies]
lint = [
"nox==2025.02.09",
"pre-commit==3.5.0",
"codespell==2.3.0",
"igittigitt==2.1.5",
"ruff==0.12.1"
]
tests = [
"nox==2025.02.09",
"pytest==8.3.3",
"pytest-cov==5.0.0",
"pytest-lazy-fixtures==1.1.1",
"pyfakefs==5.7.1",
"deepdiff==8.0.1",
"pyright==1.1.385",
"prettytable==3.11.0",
]
deploy = [
"build==1.2.1"
]
docs = [
'myst-parser==4.0.0',
'sphinx==7.3.7',
'sphinxcontrib-mermaid==0.9.2',
'sphinx-immaterial @ https://github.com/antmicro/sphinx-immaterial/releases/download/tip/sphinx_immaterial-0.0.post1-py3-none-any.whl', # noqa: E501
'sphinx_tabs==3.4.5',
'antmicro-sphinx-utils @ git+https://github.com/antmicro/antmicro-sphinx-utils@8907a689189de91ec2fcedd1ab8088f123bcf0ab',
'pylint==3.3.7'
]
all = ['topwrap[parse,lint,tests,deploy,docs]']
[project.scripts]
topwrap = "topwrap.cli.main:main"
[tool.setuptools.packages.find]
include = ["topwrap*"]
[tool.setuptools.package-data]
topwrap = [
"templates/*",
"builtin/**/*",
"builtin/**/.*",
"**/*.j2"
]
[tool.ruff]
line-length = 100
extend-exclude = [
".eggs",
".git",
".gitignore",
".nox",
".pytest_cache",
"__pycache__",
"venv",
"build",
"workspace",
"examples/caliptra/Caliptra",
]
[tool.ruff.lint]
select = [
"B",
"C9",
"E",
"F",
"I",
"W",
]
[tool.ruff.lint.mccabe]
max-complexity = 18
[tool.codespell]
skip = "build,venv,cov_html,./tests/data,.git,.nox,__pycache__,workspace,Caliptra"
ignore-words-list = "convertor, inout, inouts"
[tool.pyright]
include = ["topwrap"]
reportMissingImports = false
typeCheckingMode = "standard"
reportMissingTypeArgument = true
reportMissingParameterType = true
reportUninitializedInstanceVariable = true