File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ exclude_lines = [
8080 " except ImportError" ,
8181 " if TYPE_CHECKING:" ,
8282 " if app.debug" ,
83- " .. ." ,
83+ " \\ . \\ . \\ ." ,
8484]
8585
8686[tool .ruff .lint ]
Original file line number Diff line number Diff line change @@ -274,8 +274,7 @@ def test_get_registered_tags():
274274 """Test get_registered_tags function returns a copy of registered tags."""
275275
276276 @checker ("test_tag1" , "test_tag2" )
277- def dummy_check (context ):
278- pass
277+ def dummy_check (context ): ...
279278
280279 tags = get_registered_tags ()
281280 assert isinstance (tags , set )
@@ -391,8 +390,7 @@ def test_checker_skip_with_include_tags():
391390 """Test checker skips execution when include_tags don't match."""
392391
393392 @checker ("crud:write" )
394- def write_check (context ):
395- return [CheckResult (status = Status .SUCCESS )]
393+ def write_check (context ): ...
396394
397395 conf = CheckConfig (include_tags = {"crud:read" , "schemas" })
398396 context = CheckContext (client = None , conf = conf )
You can’t perform that action at this time.
0 commit comments