-
Notifications
You must be signed in to change notification settings - Fork 34
/
pyproject.toml
64 lines (57 loc) · 1.25 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
[tool.black]
line-length = 100
extend-exclude = '''
(
frontend/catalyst/python_bindings
| mlir/llvm-project
| mlir/mlir-hlo
| mlir/Enzyme
| build
| env
| demos
)
'''
[tool.isort]
py_version=311
profile = "black"
skip = [
"catalyst/mlir/llvm-project",
"frontend/catalyst/test/test_oqc/conftest.py",
"frontend/catalyst/third_party",
"frontend/test/conftest.py",
]
extend_skip_glob = [
"mlir/llvm-project/*",
"mlir/mlir-hlo/*",
"mlir/Enzyme/*",
"mlir/build/*",
"runtime/build/*",
".git/*",
".vscode/*",
"*venv*/*",
"_deps/*",
]
known_first_party = ["catalyst"]
known_third_party = ["diastatic-malt", "jax", "jaxlib", "numpy", "pennylane"]
[tool.bandit]
skips = ["B607"]
[build-system]
requires = ["setuptools>=62", "wheel", "pybind11>=2.12.0", "numpy!=2.0.0", "nanobind", "cmake", "ninja"]
build-backend = "setuptools.build_meta"
[tool.pytest.ini_options]
cache_dir='/tmp/.pytest_cache'
testpaths=["frontend/test/pytest", "frontend/test/test_oqc/oqc"]
[tool.coverage.run]
branch = true
source = [
"./frontend/catalyst/",
]
omit = [
"*/python_bindings/*",
"./frontend/catalyst/_version.py",
"./frontend/catalyst/_revision.py",
]
[tool.coverage.html]
directory = "coverage_html_report"
[tool.coverage.report]
sort = "Cover"