@@ -1310,6 +1310,7 @@ def list_command(**kwargs: t.Any) -> click.Command:
13101310 def callback (
13111311 pulp_ctx : PulpCLIContext ,
13121312 entity_ctx : PulpEntityContext ,
1313+ / ,
13131314 limit : int ,
13141315 offset : int ,
13151316 ** kwargs : t .Any ,
@@ -1342,7 +1343,7 @@ def show_command(**kwargs: t.Any) -> click.Command:
13421343 @pulp_command (** kwargs )
13431344 @pass_entity_context
13441345 @pass_pulp_context
1345- def callback (pulp_ctx : PulpCLIContext , entity_ctx : PulpEntityContext ) -> None :
1346+ def callback (pulp_ctx : PulpCLIContext , entity_ctx : PulpEntityContext , / ) -> None :
13461347 """
13471348 Show details of a {entity}.
13481349 """
@@ -1368,7 +1369,9 @@ def create_command(**kwargs: t.Any) -> click.Command:
13681369 @pulp_command (** kwargs ) # type: ignore [arg-type]
13691370 @pass_entity_context
13701371 @pass_pulp_context
1371- def callback (pulp_ctx : PulpCLIContext , entity_ctx : PulpEntityContext , ** kwargs : t .Any ) -> None :
1372+ def callback (
1373+ pulp_ctx : PulpCLIContext , entity_ctx : PulpEntityContext , / , ** kwargs : t .Any
1374+ ) -> None :
13721375 """
13731376 Create a {entity}.
13741377 """
@@ -1398,7 +1401,9 @@ def update_command(**kwargs: t.Any) -> click.Command:
13981401 @pulp_command (** kwargs ) # type: ignore [arg-type]
13991402 @pass_entity_context
14001403 @pass_pulp_context
1401- def callback (pulp_ctx : PulpCLIContext , entity_ctx : PulpEntityContext , ** kwargs : t .Any ) -> None :
1404+ def callback (
1405+ pulp_ctx : PulpCLIContext , entity_ctx : PulpEntityContext , / , ** kwargs : t .Any
1406+ ) -> None :
14021407 """
14031408 Update a {entity}.
14041409 """
@@ -1419,7 +1424,7 @@ def destroy_command(**kwargs: t.Any) -> click.Command:
14191424
14201425 @pulp_command (** kwargs )
14211426 @pass_entity_context
1422- def callback (entity_ctx : PulpEntityContext ) -> None :
1427+ def callback (entity_ctx : PulpEntityContext , / ) -> None :
14231428 """
14241429 Destroy a {entity}.
14251430 """
@@ -1447,10 +1452,7 @@ def version_command(**kwargs: t.Any) -> click.Command:
14471452 @pulp_group (** kwargs )
14481453 @pass_repository_context
14491454 @click .pass_context
1450- def callback (
1451- ctx : click .Context ,
1452- repository_ctx : PulpRepositoryContext ,
1453- ) -> None :
1455+ def callback (ctx : click .Context , repository_ctx : PulpRepositoryContext , / ) -> None :
14541456 ctx .obj = repository_ctx .get_version_context ()
14551457
14561458 callback .add_command (list_command (decorators = decorators + [content_in_option ]))
@@ -1467,6 +1469,7 @@ def callback(
14671469 def repair (
14681470 pulp_ctx : PulpCLIContext ,
14691471 repository_version_ctx : PulpRepositoryVersionContext ,
1472+ / ,
14701473 ) -> None :
14711474 result = repository_version_ctx .repair ()
14721475 pulp_ctx .output_result (result )
@@ -1488,29 +1491,29 @@ def label_command(**kwargs: t.Any) -> click.Command:
14881491
14891492 @pulp_group (** kwargs )
14901493 @pass_pulp_context
1491- def label_group (pulp_ctx : PulpCLIContext ) -> None :
1494+ def label_group (pulp_ctx : PulpCLIContext , / ) -> None :
14921495 for item in need_plugins :
14931496 pulp_ctx .needs_plugin (item )
14941497
14951498 @pulp_command (name = "set" , help = _ ("Add or update a label" ))
14961499 @click .option ("--key" , required = True , help = _ ("Key of the label" ))
14971500 @click .option ("--value" , required = True , help = _ ("Value of the label" ))
14981501 @pass_entity_context
1499- def label_set (entity_ctx : PulpEntityContext , key : str , value : str ) -> None :
1502+ def label_set (entity_ctx : PulpEntityContext , / , key : str , value : str ) -> None :
15001503 """Add or update a label"""
15011504 entity_ctx .set_label (key , value )
15021505
15031506 @pulp_command (name = "unset" , help = _ ("Remove a label with a given key" ))
15041507 @click .option ("--key" , required = True , help = _ ("Key of the label" ))
15051508 @pass_entity_context
1506- def label_unset (entity_ctx : PulpEntityContext , key : str ) -> None :
1509+ def label_unset (entity_ctx : PulpEntityContext , / , key : str ) -> None :
15071510 """Remove a label with a given key"""
15081511 entity_ctx .unset_label (key )
15091512
15101513 @pulp_command (name = "show" , help = _ ("Show the value for a particular label key" ))
15111514 @click .option ("--key" , required = True , help = _ ("Key of the label" ))
15121515 @pass_entity_context
1513- def label_show (entity_ctx : PulpEntityContext , key : str ) -> None :
1516+ def label_show (entity_ctx : PulpEntityContext , / , key : str ) -> None :
15141517 """Show the value for a particular label key"""
15151518 click .echo (entity_ctx .show_label (key ))
15161519
@@ -1541,14 +1544,14 @@ def role_group() -> None:
15411544 @pulp_command (help = _ ("List my permissions on this object." ))
15421545 @pass_entity_context
15431546 @pass_pulp_context
1544- def my_permissions (pulp_ctx : PulpCLIContext , entity_ctx : PulpEntityContext ) -> None :
1547+ def my_permissions (pulp_ctx : PulpCLIContext , entity_ctx : PulpEntityContext , / ) -> None :
15451548 result = entity_ctx .my_permissions ()
15461549 pulp_ctx .output_result (result )
15471550
15481551 @pulp_command (name = "list" , help = _ ("List assigned object roles." ))
15491552 @pass_entity_context
15501553 @pass_pulp_context
1551- def role_list (pulp_ctx : PulpCLIContext , entity_ctx : PulpEntityContext ) -> None :
1554+ def role_list (pulp_ctx : PulpCLIContext , entity_ctx : PulpEntityContext , / ) -> None :
15521555 result = entity_ctx .list_roles ()
15531556 pulp_ctx .output_result (result )
15541557
@@ -1561,6 +1564,7 @@ def role_list(pulp_ctx: PulpCLIContext, entity_ctx: PulpEntityContext) -> None:
15611564 def role_add (
15621565 pulp_ctx : PulpCLIContext ,
15631566 entity_ctx : PulpEntityContext ,
1567+ / ,
15641568 role : str ,
15651569 users : t .List [str ],
15661570 groups : t .List [str ],
@@ -1577,6 +1581,7 @@ def role_add(
15771581 def role_remove (
15781582 pulp_ctx : PulpCLIContext ,
15791583 entity_ctx : PulpEntityContext ,
1584+ / ,
15801585 role : str ,
15811586 users : t .List [str ],
15821587 groups : t .List [str ],
@@ -1617,6 +1622,7 @@ def version_callback(
16171622 def content_list (
16181623 content_ctx : PulpContentContext ,
16191624 pulp_ctx : PulpCLIContext ,
1625+ / ,
16201626 version : PulpRepositoryVersionContext ,
16211627 offset : int ,
16221628 limit : int ,
@@ -1635,6 +1641,7 @@ def content_list(
16351641 @pass_content_context
16361642 def content_add (
16371643 content_ctx : PulpContentContext ,
1644+ / ,
16381645 base_version : PulpRepositoryVersionContext ,
16391646 ) -> None :
16401647 repo_ctx = base_version .repository_ctx
@@ -1647,6 +1654,7 @@ def content_add(
16471654 @pass_content_context
16481655 def content_remove (
16491656 content_ctx : PulpContentContext ,
1657+ / ,
16501658 base_version : PulpRepositoryVersionContext ,
16511659 all : bool ,
16521660 ) -> None :
0 commit comments