[build-system]
requires = [ "setuptools>=65.0.0", "wheel" ]
build-backend = "setuptools.build_meta"
[project]
name = "la-stack-scripts"
version = "0.4.3"
description = "Python utility scripts for the la-stack Rust library"
readme = "README.md"
requires-python = ">=3.13"
license = { text = "BSD-3-Clause" }
authors = [
{ name = "Adam Getchell", email = "adam@adamgetchell.org" },
]
keywords = [ "linear-algebra", "benchmarking", "utilities", "la-stack" ]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: System :: Benchmarking",
]
dependencies = [ ]
[project.urls]
"Homepage" = "https://github.com/acgetchell/la-stack"
"Documentation" = "https://docs.rs/la-stack"
"Repository" = "https://github.com/acgetchell/la-stack"
"Bug Tracker" = "https://github.com/acgetchell/la-stack/issues"
[project.scripts]
archive-changelog = "archive_changelog:main"
archive-performance = "archive_performance:main"
bench-compare = "bench_compare:main"
criterion-dim-plot = "criterion_dim_plot:main"
postprocess-changelog = "postprocess_changelog:main"
tag-release = "tag_release:main"
check-docs-version-sync = "check_docs_version_sync:main"
[tool.setuptools]
package-dir = { "" = "scripts" }
py-modules = [ "archive_changelog", "archive_performance", "bench_compare", "check_docs_version_sync", "check_semgrep_fixtures", "criterion_dim_plot", "postprocess_changelog", "subprocess_utils", "tag_release" ]
[tool.ruff]
line-length = 160
target-version = "py313"
src = [ "scripts" ]
[tool.ruff.lint]
select = [ "E", "F", "W", "I", "N", "UP", "YTT", "S", "BLE", "FBT", "B", "A", "COM", "C4", "DTZ", "T10", "EM", "EXE", "ISC", "ICN", "G", "INP", "PIE", "T20", "PYI", "PT", "Q", "RSE", "RET", "SLF", "SIM", "TID", "TCH", "ARG", "PTH", "ERA", "PD", "PGH", "PL", "TRY", "NPY", "RUF" ]
fixable = [ "ALL" ]
unfixable = [ ]
ignore = [
"COM812",
"ISC001",
"PLR2004",
"FBT001",
"FBT002",
"BLE001",
"T201",
"TRY300",
"TRY301",
"ARG001",
"ERA001",
"EXE001",
"PTH123",
"EM102",
"TRY003",
]
[tool.ruff.lint.per-file-ignores]
"scripts/tests/**/*.py" = [
"S101",
"SLF001",
"PT019",
"PLC0415",
]
[tool.ruff.lint.isort]
known-first-party = [
"archive_changelog",
"archive_performance",
"bench_compare",
"check_semgrep_fixtures",
"criterion_dim_plot",
"postprocess_changelog",
"subprocess_utils",
"tag_release",
]
force-single-line = false
split-on-trailing-comma = true
combine-as-imports = true
order-by-type = true
section-order = [
"future",
"standard-library",
"third-party",
"first-party",
"local-folder",
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.pytest.ini_options]
minversion = "9.0"
addopts = [ "-ra", "--strict-markers", "--strict-config", "--color=yes" ]
testpaths = [ "scripts/tests" ]
python_files = [ "test_*.py", "*_test.py" ]
python_classes = [ "Test*" ]
python_functions = [ "test_*" ]
[tool.uv]
package = true
[dependency-groups]
dev = [
"actionlint-py==1.7.12.24",
"pytest==9.0.3",
"ruff>=0.15.14",
"semgrep==1.164.0",
"ty>=0.0.40",
]