@@ -13,7 +13,7 @@ def authors():
1313
1414
1515@authors .command (name = 'list' )
16- def authors_list ():
16+ def authors_list () -> None :
1717 """List all project authors."""
1818 manager = AuthorsManager ()
1919 manager .list_authors ()
@@ -24,15 +24,15 @@ def authors_list():
2424@click .argument ('email' )
2525@click .option ('--role' , '-r' , help = 'Author role or title' )
2626@click .option ('--alias' , '-a' , help = 'Short alias for reference' )
27- def authors_add (name , email , role , alias ):
27+ def authors_add (name , email , role , alias ) -> None :
2828 """Add an author to the project."""
2929 manager = AuthorsManager ()
3030 manager .add_author (name , email , role , alias )
3131
3232
3333@authors .command (name = 'remove' )
3434@click .argument ('email' )
35- def authors_remove (email ):
35+ def authors_remove (email ) -> None :
3636 """Remove an author from the project."""
3737 manager = AuthorsManager ()
3838 manager .remove_author (email )
@@ -43,14 +43,14 @@ def authors_remove(email):
4343@click .option ('--name' , '-n' , help = 'New name' )
4444@click .option ('--role' , '-r' , help = 'New role' )
4545@click .option ('--alias' , '-a' , help = 'New alias' )
46- def authors_update (email , name , role , alias ):
46+ def authors_update (email , name , role , alias ) -> None :
4747 """Update an author's information."""
4848 manager = AuthorsManager ()
4949 manager .update_author (email , name , role , alias )
5050
5151
5252@authors .command (name = 'import' )
53- def authors_import ():
53+ def authors_import () -> None :
5454 """Import authors from git history."""
5555 manager = AuthorsManager ()
5656 manager .import_from_git ()
0 commit comments