File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ def coverage(ctx: Context) -> None:
185185
186186
187187@duty
188- def test (ctx : Context , * cli_args : str , match : str = "" ) -> None :
188+ def test (ctx : Context , * cli_args : str , match : str = "" ) -> None : # noqa: PT028
189189 """Run the test suite.
190190
191191 Parameters:
Original file line number Diff line number Diff line change @@ -284,7 +284,7 @@ def do_format_attribute(
284284def do_order_members (
285285 members : Sequence [Object | Alias ],
286286 order : Order ,
287- members_list : bool | list [str ] | None ,
287+ members_list : bool | list [str ] | None , # noqa: FBT001
288288) -> Sequence [Object | Alias ]:
289289 """Order members given an ordering method.
290290
@@ -415,7 +415,7 @@ def do_filter_objects(
415415@lru_cache (maxsize = 1 )
416416def _get_black_formatter () -> Callable [[str , int ], str ]:
417417 try :
418- from black import InvalidInput , Mode , format_str
418+ from black import InvalidInput , Mode , format_str # noqa: PLC0415
419419 except ModuleNotFoundError :
420420 logger .info ("Formatting signatures requires Black to be installed." )
421421 return lambda text , _ : text
You can’t perform that action at this time.
0 commit comments