tjcsl/cslbot

View on GitHub
cslbot/commands/demorse.py

Summary

Maintainability
A
45 mins
Test Coverage

Showing 3 of 3 total issues

Function cmd has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring.
Open

def cmd(send, msg, _):
"""Converts morse to ascii.
 
Syntax: {command} <text>
 
 
Severity: Minor
Found in cslbot/commands/demorse.py - About 45 mins to fix

Line too long (135 > 79 characters)
Open

# Copyright (C) 2013-2018 Samuel Damashek, Peter Foley, James Forcier, Srijay Kasturi, Reed Koser, Christopher Reffett, and Tris Wilson
Severity: Minor
Found in cslbot/commands/demorse.py by pep8

Line too long (81 > 79 characters)
Open

# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Severity: Minor
Found in cslbot/commands/demorse.py by pep8
Category
Status