-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
72 lines (64 loc) · 1.73 KB
/
pyproject.toml
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
62
63
64
65
66
67
68
69
70
71
72
[project]
name = "joblib-stubs"
version = "0.0.0"
description = "joblib stubs"
authors = [{ name = "phi", email = "[email protected]" }]
dependencies = [
"typing-extensions>=4.4.0",
]
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">= 3.8"
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Typing :: Stubs Only",
]
[project.urls]
Repository = "https://github.com/phi-friday/joblib-stubs"
[project.optional-dependencies]
mypy = [
"mypy>=1.12.0",
]
mypy-strict = [
"mypy==1.12.0",
"joblib-stubs[mypy]",
]
[tool.uv]
managed = true
dev-dependencies = [
"joblib>=1.4.2",
"numpy>=1.24.4",
"dask>=2023.5.0",
"distributed>=2023.5.0",
"ruff==0.6.8",
"pre-commit>=3.5.0",
"poethepoet>=0.27.0",
"joblib-stubs[mypy-strict]",
"msgpack<1.1" # macos build error
]
[tool.poe.tasks]
lint = ["_lint:check", "_lint:format"]
"_lint:check" = "ruff check src --fix"
"_lint:format" = "ruff format src"
check = "pre-commit run --all-files --show-diff-on-failure"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/joblib-stubs"]
[tool.hatch.build.targets.sdist]
include = ["src/joblib-stubs"]
[tool.mypy]
python_version = "3.8"
strict = true
disable_error_code = "import-untyped,overload-overlap,override"
disallow_subclassing_any = false
local_partial_types = true
mypy_path = "typings"