File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11repos :
22- repo : https://github.com/astral-sh/ruff-pre-commit
3- rev : " v0.9.7 "
3+ rev : " v0.9.9 "
44 hooks :
55 - id : ruff
66 args : ["--fix"]
1212 - id : end-of-file-fixer
1313 - id : check-yaml
1414- repo : https://github.com/woodruffw/zizmor-pre-commit
15- rev : v1.3 .1
15+ rev : v1.4 .1
1616 hooks :
1717 - id : zizmor
1818- repo : https://github.com/adamchainz/blacken-docs
4848 # on <3.11
4949 - exceptiongroup>=1.0.0rc8
5050- repo : https://github.com/tox-dev/pyproject-fmt
51- rev : " v2.5.0 "
51+ rev : " v2.5.1 "
5252 hooks :
5353 - id : pyproject-fmt
5454 # https://pyproject-fmt.readthedocs.io/en/latest/#calculating-max-supported-python-version
Original file line number Diff line number Diff line change @@ -1017,7 +1017,7 @@ def validate_exc(exc: type[E]) -> type[E]:
10171017 raise TypeError (f"{ func !r} object (type: { type (func )} ) must be callable" )
10181018 try :
10191019 func (* args [1 :], ** kwargs )
1020- except expected_exceptions as e :
1020+ except expected_exceptions as e : # pylint: disable=catching-non-exception
10211021 return _pytest ._code .ExceptionInfo .from_exception (e )
10221022 fail (message )
10231023
Original file line number Diff line number Diff line change @@ -999,14 +999,14 @@ def test_calls_showall_durationsmin_verbose(
999999 def check_tests_in_output (
10001000 lines : Sequence [str ], * expected_test_numbers : int , number_of_tests : int = 3
10011001 ) -> None :
1002- found_test_numbers = set (
1002+ found_test_numbers = {
10031003 test_number
10041004 for test_number in range (1 , number_of_tests + 1 )
10051005 if any (
10061006 line .endswith (f"test_{ test_number } " ) and " call " in line
10071007 for line in lines
10081008 )
1009- )
1009+ }
10101010 assert found_test_numbers == set (expected_test_numbers )
10111011
10121012 def test_with_deselected (self , pytester : Pytester , mock_timing ) -> None :
You can’t perform that action at this time.
0 commit comments