File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 16
16
args : [--fix, lf]
17
17
- id : trailing-whitespace
18
18
- repo : https://github.com/astral-sh/ruff-pre-commit
19
- rev : " v0.6.9 "
19
+ rev : " v0.7.0 "
20
20
hooks :
21
21
- id : ruff
22
22
args : [--fix, --exit-non-zero-on-fix]
Original file line number Diff line number Diff line change @@ -690,7 +690,7 @@ def test_successful_validation_of_just_the_schema_pretty_output(self):
690
690
)
691
691
692
692
def test_successful_validation_via_explicit_base_uri (self ):
693
- ref_schema_file = tempfile .NamedTemporaryFile (delete = False )
693
+ ref_schema_file = tempfile .NamedTemporaryFile (delete = False ) # noqa: SIM115
694
694
ref_schema_file .close ()
695
695
self .addCleanup (os .remove , ref_schema_file .name )
696
696
@@ -711,7 +711,7 @@ def test_successful_validation_via_explicit_base_uri(self):
711
711
)
712
712
713
713
def test_unsuccessful_validation_via_explicit_base_uri (self ):
714
- ref_schema_file = tempfile .NamedTemporaryFile (delete = False )
714
+ ref_schema_file = tempfile .NamedTemporaryFile (delete = False ) # noqa: SIM115
715
715
ref_schema_file .close ()
716
716
self .addCleanup (os .remove , ref_schema_file .name )
717
717
You can’t perform that action at this time.
0 commit comments