File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 99
1010repos :
1111 - repo : https://github.com/astral-sh/ruff-pre-commit
12- rev : v0.12.12
12+ rev : v0.13.0
1313 hooks :
14- - id : ruff
14+ - id : ruff-check
1515 args : [--fix]
1616
1717 - repo : https://github.com/psf/black
3838 - id : isort
3939
4040 - repo : https://github.com/pre-commit/mirrors-mypy
41- rev : v1.17 .1
41+ rev : v1.18 .1
4242 hooks :
4343 - id : mypy
4444 # uses py311 syntax, mypy configured for py39
Original file line number Diff line number Diff line change 1010
1111def _raises_on_code_cst (source : str ):
1212 expression = cst .parse_expression (source )
13- with pytest .raises (RuntimeError , match = "Invalid literal values.* " ):
13+ with pytest .raises (RuntimeError , match = "Invalid literal values" ):
1414 iter_guaranteed_once_cst (expression )
1515
1616
@@ -24,7 +24,7 @@ def _raises_on_code_ast(source: str):
2424 assert isinstance (expression , ast .Expr )
2525 call = expression .value
2626 assert isinstance (call , ast .Call )
27- with pytest .raises (RuntimeError , match = "Invalid literal values.* " ):
27+ with pytest .raises (RuntimeError , match = "Invalid literal values" ):
2828 iter_guaranteed_once (call )
2929
3030
You can’t perform that action at this time.
0 commit comments