You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
conflicts = [[{ group = "cuda" }, { group = "metal" }]]
34
50
35
51
[build-system]
36
52
requires = ["hatchling"]
37
53
build-backend = "hatchling.build"
38
54
39
-
[tool.uv]
40
-
managed = true
41
-
dev-dependencies = [
42
-
"pytest>=8.1.1",
43
-
"pre-commit>=3.7.0",
44
-
"nvitop>=1.3.2",
45
-
"ipykernel>=6.29.4",
46
-
"jupyter>=1.0.0",
47
-
"ruff>=0.4.10",
48
-
]
49
-
50
55
[tool.hatch.metadata]
51
56
allow-direct-references = true
52
57
53
58
[tool.hatch.build.targets.wheel]
54
59
packages = ["src/scratch"]
55
60
56
61
[tool.ruff]
62
+
target-version = "py312"
57
63
include = ["src/**", "tests/**"]
58
-
59
-
[tool.ruff.lint]
60
-
pydocstyle.convention = "google"
64
+
line-length = 88
61
65
select = [
62
66
"E", # pycodestyle
63
67
"W", # pycodestyle
@@ -67,17 +71,18 @@ select = [
67
71
"D", # pydocstyle
68
72
"I", # isort
69
73
"SIM", # flake8-simplify
70
-
"TCH", # flake8-type-checking
71
74
"TID", # flake8-tidy-imports
72
75
"UP", # pyupgrade
73
76
"PT", # flake8-pytest-style
74
77
"RUF", # Ruff-specific rules
75
78
"FBT001", # flake8-boolean-trap
76
79
]
77
-
78
80
ignore = ["F722"]
79
81
80
-
[tool.ruff.lint.isort]
82
+
[tool.ruff.pydocstyle]
83
+
convention = "google"
84
+
85
+
[tool.ruff.isort]
81
86
known-first-party = ["src"]
82
87
83
88
[tool.pytest.ini_options]
@@ -86,8 +91,3 @@ filterwarnings = [
86
91
'ignore:co_lnotab is deprecated, use co_lines instead.',
87
92
'ignore:To copy construct from a tensor, it is recommended to use sourceTensor\.clone\(\)\.detach\(\) or sourceTensor\.clone\(\)\.detach\(\)\.requires_grad_\(True\):UserWarning',
0 commit comments