update mypy and torch version in ci (#13925)

This commit is contained in:
chenyu
2025-12-31 10:29:28 -05:00
committed by GitHub
parent b998a80b5d
commit 35bd39e4ba

View File

@@ -49,7 +49,7 @@ arm = ["unicorn"]
triton = ["triton-nightly>=2.1.0.dev20231014192330"] triton = ["triton-nightly>=2.1.0.dev20231014192330"]
linting = [ linting = [
"pylint", "pylint",
"mypy==1.18.1", "mypy==1.19.1",
"typing-extensions", "typing-extensions",
"pre-commit", "pre-commit",
"ruff", "ruff",
@@ -61,7 +61,7 @@ linting = [
# ] # ]
testing_minimal = [ testing_minimal = [
"numpy", "numpy",
"torch==2.9.0", "torch==2.9.1",
"pytest", "pytest",
"pytest-xdist", "pytest-xdist",
"pytest-timeout", "pytest-timeout",
@@ -188,7 +188,6 @@ select = [
"E72", "E72",
"E112", # no-indented-block "E112", # no-indented-block
"E113", # unexpected-indentation "E113", # unexpected-indentation
# "E124",
"E203", # whitespace-before-punctuation "E203", # whitespace-before-punctuation
"E272", # multiple-spaces-before-keyword "E272", # multiple-spaces-before-keyword
"E275", # missing-whitespace-after-keyword "E275", # missing-whitespace-after-keyword