[Update] 2026-02-12 20:23:09, 18 files

This commit is contained in:
Adam Ladachowski
2026-02-12 20:23:09 +00:00
parent 7b583c72b0
commit 503274a938
18 changed files with 1277 additions and 1 deletions
+12
View File
@@ -11,6 +11,9 @@ dependencies = [
"typer>=0.15.0",
]
[project.optional-dependencies]
server = ["fastapi>=0.115", "uvicorn>=0.30"]
[project.scripts]
tsr = "tensors:main"
@@ -30,6 +33,8 @@ dev = [
"pytest-cov>=4.1",
"pre-commit>=3.6",
"respx>=0.22.0",
"fastapi>=0.115",
"uvicorn>=0.30",
]
[tool.ruff]
@@ -56,6 +61,9 @@ ignore = [
"PLR0913", # Too many arguments - CLI commands need many options
]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["PLR2004", "ARG002", "TC001", "TC003"]
[tool.ruff.lint.isort]
known-first-party = ["tensors"]
@@ -79,6 +87,10 @@ ignore_missing_imports = false
module = ["safetensors.*"]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["uvicorn.*"]
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --cov=tensors --cov-report=term-missing"