1
0
mirror of https://github.com/craigerl/aprsd.git synced 2026-06-10 10:05:36 -04:00

Use Gray instead of Black for code formatting.

The Black code formatter sucks with respect to function
declarations with a lot of params.  Completely unreadable.
This commit is contained in:
2021-08-23 12:14:19 -04:00
parent d6643a8e96
commit e175f77347
39 changed files with 286 additions and 278 deletions
+2 -1
View File
@@ -2,6 +2,7 @@ import logging
from aprsd import plugin
LOG = logging.getLogger("APRSD")
@@ -15,5 +16,5 @@ class HelloPlugin(plugin.APRSDPluginBase):
def command(self, fromcall, message, ack):
LOG.info("HelloPlugin")
reply = "Hello '{}'".format(fromcall)
reply = f"Hello '{fromcall}'"
return reply