OpenC3/cosmos

View on GitHub
openc3/python/ruby_to_python.py

Summary

Maintainability
A
2 hrs
Test Coverage

Consider simplifying this complex logical expression.
Open

        if "expect" in line and ".to eql" in line:
            line = line.replace("expect(", "self.assertEqual(")
            line = re.sub(r"\)\.to eql(.*)", r", \1)", line)
        elif "expect" in line and ".to eq" in line:
            line = line.replace("expect(", "self.assertEqual(")
Severity: Critical
Found in openc3/python/ruby_to_python.py - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status