-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
58 lines (49 loc) · 1.16 KB
/
pyproject.toml
File metadata and controls
58 lines (49 loc) · 1.16 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
[project]
name = "xyz-cppmodel"
version = "0.0.1"
description = "A Python wrapper around clang's python bindings to generate a simple Python model of a C++ translation unit."
readme = "README.md"
requires-python = ">=3.10"
license = { file = "LICENSE" }
authors = [{ name = "J.B. Coe", email = "jonathanbcoe@gmail.com" }]
dependencies = [
"clang>=14.0",
"libclang>=18.1.1",
]
[project.urls]
Repository = "https://github.com/jbcoe/py_cppmodel"
[dependency-groups]
dev = [
"ipython>=8.12.3",
"jupyter>=1.1.1",
"pre-commit>=4.5.1",
"pytest>=9.0.2",
"pytest-xdist>=3.8.0",
"ruff>=0.14.14",
"ty>=0.0.14",
]
[tool.pytest.ini_options]
addopts = "-n auto -v"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/xyz"]
[tool.ruff]
line-length = 120
indent-width = 4
[tool.ruff.lint]
# https://docs.astral.sh/ruff/rules/
select = [
"B", # Bugbear
"E", # Pycodestyle
"F", # Pyflakes
"I", # Isort
"W", # Pycodestyle
]
fixable = ["ALL"]
unfixable = []
[tool.ruff.lint.isort]
force-single-line = true
[tool.ruff.format]
quote-style = "double"