2
0
Эх сурвалжийг харах

format code to follow black style

Victor Seva 5 жил өмнө
parent
commit
b1adc4d2fd
2 өөрчлөгдсөн 12 нэмэгдсэн , 12 устгасан
  1. 2 2
      kamcli/commands/cmd_srv.py
  2. 10 10
      setup.py

+ 2 - 2
kamcli/commands/cmd_srv.py

@@ -42,12 +42,12 @@ def srv_rpclist(ctx):
 @cli.command("rpchelp", short_help="Show the help text for rpc command")
 @click.argument("command", metavar="<command>")
 @pass_context
-def srv_rpchelp(ctx,command):
+def srv_rpchelp(ctx, command):
     """Show the the help text for rpc command
 
     \b
     """
-    command_ctl(ctx, "system.methodHelp", [ command ])
+    command_ctl(ctx, "system.methodHelp", [command])
 
 
 @cli.command("info", short_help="Show server info")

+ 10 - 10
setup.py

@@ -1,19 +1,19 @@
 from setuptools import setup
 
 setup(
-    name='kamcli',
-    version='2.0.0',
-    packages=['kamcli', 'kamcli.commands'],
+    name="kamcli",
+    version="2.0.0",
+    packages=["kamcli", "kamcli.commands"],
     include_package_data=True,
     install_requires=[
-        'setuptools',
-        'click',
-        'pyaml',
-        'sqlalchemy',
-        'tabulate',
+        "setuptools",
+        "click",
+        "pyaml",
+        "sqlalchemy",
+        "tabulate",
     ],
-    entry_points='''
+    entry_points="""
         [console_scripts]
         kamcli=kamcli.cli:cli
-    ''',
+    """,
 )