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 1616 args : [--fix, lf]
1717 - id : trailing-whitespace
1818 - repo : https://github.com/astral-sh/ruff-pre-commit
19- rev : " v0.6.9 "
19+ rev : " v0.7.0 "
2020 hooks :
2121 - id : ruff
2222 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):
690690 )
691691
692692 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
694694 ref_schema_file .close ()
695695 self .addCleanup (os .remove , ref_schema_file .name )
696696
@@ -711,7 +711,7 @@ def test_successful_validation_via_explicit_base_uri(self):
711711 )
712712
713713 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
715715 ref_schema_file .close ()
716716 self .addCleanup (os .remove , ref_schema_file .name )
717717
You can’t perform that action at this time.
0 commit comments