Add haskell formatting to cloc output

This commit is contained in:
Zeva Rose 2022-05-01 16:10:40 -06:00
parent e81fc9fbf8
commit 2282ca5cd8

View file

@ -272,7 +272,7 @@ class DevCog(Scale):
output = subprocess.check_output( # noqa: S603, S607 output = subprocess.check_output( # noqa: S603, S607
["tokei", "-C", "--sort", "code"] ["tokei", "-C", "--sort", "code"]
).decode("UTF-8") ).decode("UTF-8")
await ctx.send(f"```\n{output}\n```") await ctx.send(f"```haskell\n{output}\n```")
def setup(bot: Snake) -> None: def setup(bot: Snake) -> None: