-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
45 lines (38 loc) · 1.14 KB
/
Copy pathpyproject.toml
File metadata and controls
45 lines (38 loc) · 1.14 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "tt-sim"
description = "A simulator for the Tenstorrent architecture"
readme = "README.md"
requires-python = ">=3.10"
license = "BSD-3-Clause"
authors = [ { name = "Nick Brown" } ]
classifiers = ["Programming Language :: Python :: 3"]
dependencies = [
"numpy",
"pyyaml",
"pynng",
"flatbuffers",
"pyarrow",
"pyelftools",
]
version = "1.0"
[project.optional-dependencies]
dev=["ruff"]
[tool.setuptools]
packages = ["tt_sim"]
[tool.ruff]
target-version = "py310"
extend-include = ["*.ipynb", "*.pyi"]
exclude = [".venv", "docs/marimo", "driver/wormhole/server/_flatbuf"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "PT", "TID251", "INP", "PYI"]
ignore = [
"E741", # https://beta.ruff.rs/docs/rules/ambiguous-variable-name/
"PT006", # https://beta.ruff.rs/docs/rules/pytest-parametrize-names-wrong-type/
"PT012", # https://beta.ruff.rs/docs/rules/pytest-raises-with-multiple-statements/
"PYI041", # https://docs.astral.sh/ruff/rules/redundant-numeric-union
]
[tool.ruff.lint.pycodestyle]
max-line-length = 130