-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
47 lines (39 loc) · 1.15 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
[project]
name = "xdsl-aie"
description = "xDSL with MLIR-AIE dialect extensions"
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT License" }
version = "0.0.1"
dependencies = [
"xdsl>=0.25.0"
]
[project.optional-dependencies]
dev = [
"xdsl[dev]==0.25.0",
]
[project.scripts]
xdsl-aie-opt = "xdsl_aie.tools.xdsl_aie_main:main"
[build-system]
requires = ["setuptools>=61", "wheel"]
build-backend = "setuptools.build_meta"
[tool.pyright]
reportImportCycles = false
reportMissingModuleSource = false
enableTypeIgnoreComments = false
enableExperimentalFeatures = true
typeCheckingMode = "strict"
"include" = ["xdsl_aie"]
[tool.ruff]
target-version = "py310"
extend-include = ["*.ipynb", "*.pyi"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "PT", "TID251"]
ignore = [
"E741", # https://beta.ruff.rs/docs/rules/ambiguous-variable-name/
"PT006", # https://beta.ruff.rs/docs/rules/pytest-parametrize-names-wrong-type/
"PT011", # https://beta.ruff.rs/docs/rules/pytest-raises-too-broad/
"PT012", # https://beta.ruff.rs/docs/rules/pytest-raises-with-multiple-statements/
]
[tool.ruff.lint.pycodestyle]
max-line-length = 120