@@ -225,7 +225,7 @@ split-on-trailing-comma = false
225225[tool .tox ]
226226min_version = " 4"
227227requires = [" tox-uv>=1" ]
228- env_list = [" lint" , " pyright" , " mypy" , " 3.11" , " 3.12" , " 3.13" , " 3.14" ]
228+ env_list = [" lint" , " pyrefly " , " pyright" , " mypy" , " 3.11" , " 3.12" , " 3.13" , " 3.14" ]
229229
230230[tool .tox .env_run_base ]
231231description = " stubtest with {base_python}"
@@ -252,11 +252,17 @@ commands = [
252252 [" ruff" , " format" , " --check" ],
253253]
254254
255+ [tool .tox .env .pyrefly ]
256+ description = " pyrefly"
257+ runner = " uv-venv-lock-runner"
258+ dependency_groups = [" type" ]
259+ commands = [[" pyrefly" , " check" , { replace = " posargs" , default = [], extend = true }]]
260+
255261[tool .tox .env .pyright ]
256262description = " basedpyright"
257263runner = " uv-venv-lock-runner"
258264dependency_groups = [" type" ]
259- commands = [[" basedpyright" ]]
265+ commands = [[" basedpyright" , { replace = " posargs " , default = [], extend = true } ]]
260266
261267[tool .tox .env .mypy ]
262268description = " mypy"
@@ -265,8 +271,6 @@ dependency_groups = ["type"]
265271commands = [
266272 [
267273 " mypy" ,
268- " --hide-error-context" ,
269- " --hide-error-code-links" ,
270274 " --no-incremental" ,
271275 { replace = " posargs" , default = [" ." ], extend = true },
272276 ],
0 commit comments