88from process_tracker .utilities .logging import console
99
1010data_store = DataStore ()
11- logger = logging .getLogger (' Process Tracker' )
11+ logger = logging .getLogger (" Process Tracker" )
1212logger .addHandler (console )
1313
1414
@@ -42,8 +42,8 @@ def main():
4242
4343
4444@main .command ()
45- @click .option ('-t' , ' --topic' , help = ' The topic being created' )
46- @click .option ('-n' , ' --name' , help = ' The name for the topic.' )
45+ @click .option ("-t" , " --topic" , help = " The topic being created" )
46+ @click .option ("-n" , " --name" , help = " The name for the topic." )
4747def create (topic , name ):
4848 """
4949 Create an item that is within the valid topics list.
@@ -52,13 +52,13 @@ def create(topic, name):
5252 :param name: The name of the topic item to be added.
5353 :type name: string
5454 """
55- click .echo (' Attempting to create %s with name %s' % (topic , name ))
55+ click .echo (" Attempting to create %s with name %s" % (topic , name ))
5656 data_store .topic_creator (topic = topic , name = name )
5757
5858
5959@main .command ()
60- @click .option ('-t' , ' --topic' , help = ' The topic being created' )
61- @click .option ('-n' , ' --name' , help = ' The name for the topic.' )
60+ @click .option ("-t" , " --topic" , help = " The topic being created" )
61+ @click .option ("-n" , " --name" , help = " The name for the topic." )
6262def delete (topic , name ):
6363 """
6464 Delete an item that is within the valid topics list and not a pre-loaded item.
@@ -67,15 +67,17 @@ def delete(topic, name):
6767 :param name: The name of the topic item to be deleted.
6868 :type name: string
6969 """
70- click .echo (' Attempting to delete %s with name %s' % (topic , name ))
70+ click .echo (" Attempting to delete %s with name %s" % (topic , name ))
7171 data_store .topic_deleter (topic = topic , name = name )
7272
7373
7474@main .command ()
75- @click .option ('-t' , ' --topic' , help = ' The topic being created' )
76- @click .option ('-i' , ' --initial-name' , help = ' The name that needs to be changed.' )
77- @click .option ('-n' , ' --name' , help = ' The new name for the topic.' )
75+ @click .option ("-t" , " --topic" , help = " The topic being created" )
76+ @click .option ("-i" , " --initial-name" , help = " The name that needs to be changed." )
77+ @click .option ("-n" , " --name" , help = " The new name for the topic." )
7878def update (topic , initial_name , name ):
7979
80- click .echo ('Attempting to update %s with name %s to %s' % (topic , initial_name , name ))
80+ click .echo (
81+ "Attempting to update %s with name %s to %s" % (topic , initial_name , name )
82+ )
8183 data_store .topic_updater (topic = topic , initial_name = initial_name , name = name )
0 commit comments