| 1 |
[build-system] |
| 2 |
requires = ["setuptools", "wheel", "setuptools-rust"] |
| 3 |
build-backend = "setuptools.build_meta" |
| 4 |
|
| 5 |
[project] |
| 6 |
name = "vcsgraph" |
| 7 |
description = "Graph algorithms for version control systems" |
| 8 |
readme = "README.md" |
| 9 |
requires-python = ">=3.10" |
| 10 |
license-files = ["COPYING.txt"] |
| 11 |
dynamic = ["version"] |
| 12 |
|
| 13 |
[project.optional-dependencies] |
| 14 |
dev = [ |
| 15 |
"mypy==2.1.0", |
| 16 |
"ruff==0.15.18" |
| 17 |
] |
| 18 |
|
| 19 |
[tool.setuptools] |
| 20 |
packages = ["vcsgraph"] |
| 21 |
|
| 22 |
[[tool.setuptools-rust.ext-modules]] |
| 23 |
target = "vcsgraph._graph_rs" |
| 24 |
path = "crates/graph-py/Cargo.toml" |
| 25 |
binding = "PyO3" |
| 26 |
|
| 27 |
[tool.setuptools.dynamic] |
| 28 |
version = {attr = "vcsgraph.__version__"} |
| 29 |
|
| 30 |
[tool.mypy] |
| 31 |
ignore_missing_imports = true |
| 32 |
|
| 33 |
[tool.ruff] |
| 34 |
extend-exclude = ["lib", "bin"] |
| 35 |
|
| 36 |
[tool.ruff.lint] |
| 37 |
select = [ |
| 38 |
"ANN", |
| 39 |
"D", |
| 40 |
"E", |
| 41 |
"F", |
| 42 |
"N", |
| 43 |
"B", |
| 44 |
"I", |
| 45 |
"S", |
| 46 |
"TCH", |
| 47 |
"INT", |
| 48 |
"SIM", |
| 49 |
"C4", |
| 50 |
"UP", |
| 51 |
"RUF", |
| 52 |
] |
| 53 |
ignore = [ |
| 54 |
"ANN001", |
| 55 |
"ANN002", |
| 56 |
"ANN003", |
| 57 |
"ANN201", |
| 58 |
"ANN202", |
| 59 |
"ANN204", |
| 60 |
"ANN205", |
| 61 |
"ANN206", |
| 62 |
"D205", |
| 63 |
"D417", |
| 64 |
"F821", |
| 65 |
"E501", |
| 66 |
"D402", |
| 67 |
"E402", |
| 68 |
"E741", |
| 69 |
"F405", |
| 70 |
"N801", |
| 71 |
"N802", |
| 72 |
"N804", |
| 73 |
"N806", |
| 74 |
"N818", |
| 75 |
"N999", |
| 76 |
|
| 77 |
"S602", |
| 78 |
"S603", |
| 79 |
"S105", |
| 80 |
"S106", |
| 81 |
"S110", |
| 82 |
|
| 83 |
"S317", |
| 84 |
|
| 85 |
|
| 86 |
"D104", |
| 87 |
|
| 88 |
"RUF012", |
| 89 |
"RUF005", |
| 90 |
"RUF015", |
| 91 |
|
| 92 |
"SIM102", |
| 93 |
"SIM105", |
| 94 |
"SIM108", |
| 95 |
"SIM114", |
| 96 |
"SIM115", |
| 97 |
] |
| 98 |
|
| 99 |
[tool.ruff.lint.extend-per-file-ignores] |
| 100 |
|
| 101 |
"vcsgraph/tests/*.py" = ["D100", "D101", "D102", "D103", "D104", "D105", "D106", "D107"] |
| 102 |
|
| 103 |
[tool.ruff.lint.pydocstyle] |
| 104 |
convention = "google" |
| 105 |
|
| 106 |
[tool.cibuildwheel.linux] |
| 107 |
skip = "*-musllinux_*" |
| 108 |
archs = ["auto", "aarch64"] |