-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
85 lines (74 loc) · 1.87 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
73
74
75
76
77
78
79
80
81
82
83
84
85
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
authors = [{ name = "Yury Gorishniy" }]
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS",
"Operating System :: Unix",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = ["numpy >=1.21,<3", "torch >=1.9,<3"]
dynamic = ["version", "description"]
keywords = [
"artificial intelligence",
"deep learning",
"library",
"python",
"pytorch",
"torch",
]
license = { file = "LICENSE" }
name = "delu"
requires-python = ">=3.9"
urls = { Documentation = "https://yura52.github.io/delu", Code = "https://github.com/Yura52/delu" }
[dependency-groups]
dev = [
# Documentation
"furo ==2024.8.6",
"pdoc ==15.0.0",
"sphinx ==7.4.7",
"sphinxcontrib-spelling ==8.0.0",
"sphinx-copybutton ==0.5.2",
"sphinx-design ==0.6.1",
"sphinx-remove-toctrees ==1.0.0.post1",
# Development
"coverage ==7.6.7",
"flit ==3.10.1",
"mypy ==1.13.0",
"pip ==24.3.1",
"pre-commit-hooks ==5.0.0",
"pytest ==8.3.3",
"ruff ==0.7.4",
"xdoctest ==1.2.0",
# Other
"jupyterlab ==4.3.1",
]
[tool.uv]
resolution = "lowest-direct"
[tool.coverage.run]
branch = true
omit = ["delu/tests/*"]
source = ["delu"]
[tool.flit.module]
name = "delu"
[tool.flit.sdist]
exclude = ["**/.DS_Store"]
[tool.mypy]
check_untyped_defs = true
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "delu.*.tests.*"
ignore_errors = true
[tool.ruff]
target-version = "py39"
line-length = 88
[tool.ruff.format]
quote-style = "single"
[tool.ruff.lint]
extend-select = ["RUF", "UP", "E501", "E731"]