nicoulaj/rainbow

View on GitHub
rainbow/filter.py

Summary

Maintainability
C
1 day
Test Coverage
A
100%

File filter.py has 528 lines of code (exceeds 250 allowed). Consider refactoring.
Open

# ----------------------------------------------------------------------
# rainbow, a terminal colorizer - https://github.com/nicoulaj/rainbow
# copyright (c) 2010-2018 rainbow contributors
#
# This program is free software: you can redistribute it and/or modify
Severity: Major
Found in rainbow/filter.py - About 1 day to fix

Function __init__ has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

    def __init__(self, name, help, short_option=None, long_option=None, before=None, after=None):
Severity: Minor
Found in rainbow/filter.py - About 45 mins to fix

There are no issues that match your filters.

Category
Status