Skip to content

Commit 844c392

Browse files
committed
move to uv
1 parent 4dcd6c0 commit 844c392

2 files changed

Lines changed: 1766 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[build-system]
2-
requires = ["setuptools>=61.0"]
3-
build-backend = "setuptools.build_meta"
2+
requires = ["hatchling>=1.21.1"]
3+
build-backend = "hatchling.build"
44

55
[project]
66
name = "alsgls"
77
version = "0.3.0"
88
description = "Lightweight low-rank+diag GLS/SUR via ALS with EM baseline"
99
readme = "README.md"
10-
requires-python = ">=3.10"
10+
requires-python = ">=3.11"
1111
authors = [{ name = "Gaurav Sood", email = "contact@gsood.com" }]
1212
license = { text = "MIT" }
1313
urls = { "Homepage" = "https://github.com/finite-sample/alsgls" }
@@ -31,5 +31,28 @@ docs = [
3131
"ipython",
3232
]
3333

34-
[tool.setuptools]
34+
35+
[tool.hatch.build.targets.wheel]
3536
packages = ["alsgls"]
37+
38+
[dependency-groups]
39+
dev = ["pytest>=7.0", "pytest-cov>=4.0", "ruff>=0.7.0", "mypy>=1.0", "pre-commit>=3.0"]
40+
test = ["pytest>=7.0", "pytest-cov>=4.0"]
41+
42+
[tool.ruff]
43+
line-length = 88
44+
target-version = "py311"
45+
46+
[tool.ruff.lint]
47+
select = ["E", "W", "F", "I", "B", "C4", "UP"]
48+
ignore = ["E501", "B008"]
49+
50+
[tool.ruff.lint.per-file-ignores]
51+
"__init__.py" = ["F401"]
52+
"tests/*" = ["S101"]
53+
54+
[tool.mypy]
55+
python_version = "3.11"
56+
warn_return_any = true
57+
warn_unused_configs = true
58+
check_untyped_defs = true

0 commit comments

Comments
 (0)