-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
61 lines (51 loc) · 1.79 KB
/
Copy pathpyproject.toml
File metadata and controls
61 lines (51 loc) · 1.79 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
59
60
61
[project]
name = "smooai-file"
version = "1.1.5"
description = "A unified file handling library for working with files from local filesystem, S3, URLs, and streams."
readme = "README.md"
authors = [{ name = "SmooAI", email = "brent@smooai.com" }]
license = { text = "MIT" }
requires-python = ">=3.12"
dependencies = ["httpx>=0.27.0", "boto3>=1.35.0", "puremagic>=1.27", "aiofiles>=24.1.0"]
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
keywords = ["file", "s3", "streaming", "smooai"]
[project.urls]
Homepage = "https://github.com/SmooAI/file"
Repository = "https://github.com/SmooAI/file"
Issues = "https://github.com/SmooAI/file/issues"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/smooai_file"]
[dependency-groups]
dev = ["pytest>=8.0.0", "pytest-asyncio>=0.24.0", "moto[s3]>=5.0.0", "respx>=0.22.0", "ruff>=0.11.0", "basedpyright>=1.0.0", "poethepoet>=0.29.0"]
[tool.poe.tasks]
lint = "ruff check src/ tests/"
"lint:fix" = "ruff check --fix src/ tests/"
format = "ruff format src/ tests/"
"format:check" = "ruff format --check src/ tests/"
typecheck = "basedpyright src/"
test = "uv run pytest tests/ -v"
build = "uv build --wheel --sdist"
"install-dev" = "uv sync --group dev"
[tool.poe.tasks.publish]
sequence = [{ cmd = "uv build --wheel --sdist" }, { cmd = "uv publish" }]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
asyncio_mode = "auto"
[tool.ruff]
target-version = "py312"
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]
[tool.basedpyright]
pythonVersion = "3.12"
typeCheckingMode = "standard"