-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
40 lines (35 loc) · 1.07 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
[build-system]
requires = ["setuptools>=42", "wheel"]
[tool.pyright]
reportImportCycles = false
enableTypeIgnoreComments = false
typeCheckingMode = "strict"
"include" = ["docs", "xdsl", "tests", "bench"]
"exclude" = [
"tests/test_frontend_op_resolver.py",
"tests/test_frontend_python_code_check.py",
"tests/dialects/test_memref.py",
"xdsl/interpreters/experimental/wgpu.py",
]
"ignore" = [
"tests/filecheck/frontend/dialects/builtin.py",
"tests/filecheck/frontend/dialects/invalid.py",
"tests/filecheck/frontend/dialects/arith.py",
"tests/filecheck/frontend/dialects/scf.py",
"tests/filecheck/frontend/programs/invalid.py",
"xdsl/_version.py",
]
[tool.isort]
profile = "black"
[tool.ruff]
select = ["E", "F", "W", "I"]
ignore = ["E741"]
line-length = 300
target-version = "py310"
[tool.ruff.per-file-ignores]
"__init__.py" = ["F403"]
"tests/filecheck/frontend/programs/invalid.py" = ["F811", "F841"]
"tests/filecheck/frontend/dialects/invalid.py" = ["F811"]
"tests/test_declarative_assembly_format.py" = ["F811"]
[tool.ruff.mccabe]
max-complexity = 10