-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
110 lines (90 loc) · 2.36 KB
/
pyproject.toml
File metadata and controls
110 lines (90 loc) · 2.36 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[project]
name = "activations-plus"
dynamic = ["version"]
description = ""
authors = [
{name = "DanielAvdar", email = "66269169+DanielAvdar@users.noreply.github.com"},
]
license = {text = "MIT"}
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
requires-python = ">=3.9"
keywords = [
"python"
]
dependencies = [
"torch",
]
[[tool.uv.index]]
name = "cu128"
url = "https://download.pytorch.org/whl/cu128"
explicit = true
[tool.uv.sources]
torch = [
{ index = "cu128", marker = "platform_system != 'Darwin'"},
]
[dependency-groups]
dev = [
"pytest>=7.1.2",
"hypothesis>=6.23.3",
"pre-commit>=2.20.0",
"pre-commit-uv>=4",
"pytest-cov>=4.0.0",
"mypy==1.15.0",
"pytest-parametrization>=2022",
"ruff>=0.8.2",
"setuptools>=67.0.0",
"numpy",
"sybil[pytest]",
"matplotlib",
]
docs = [
"sphinx>=8.2.0; python_version >= '3.11'",
"sphinx>=7.0.0; python_version < '3.11'",
"sphinx-rtd-theme>=3.0.2",
"matplotlib",
]
[tool.hatch.build.targets.sdist]
only-include = ["activations_plus",]
source = "."
[tool.hatch.build.targets.wheel]
only-include = ["activations_plus",]
source = "."
[build-system]
requires = ["hatchling", "uv-dynamic-versioning"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "uv-dynamic-versioning"
[project.optional-dependencies]
[tool.ruff]
line-length = 120
include = ["pyproject.toml", "tests/**",]
[tool.ruff.lint]
select = ["F", "B", "I", "F", "W", "E", "A", "N", "D","DOC"]
fixable = ["ALL"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["D", "DOC"]
"docs/*" = ["D", "DOC"]
"examples/*" = ["D", "DOC"]
[tool.ruff.lint.isort]
combine-as-imports = true
[tool.mypy]
python_version = "3.11"
disallow_untyped_defs = true
check_untyped_defs = true
warn_redundant_casts = true
warn_unused_ignores = true
strict_optional = false