Showing 121 of 121 total issues
Function get_file_type
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. Open
def get_file_type(filename): """ Returns I/O object to use for file. Parameters ----------
- Read upRead up
Function injections_from_cli
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. Open
def injections_from_cli(opts): """Gets injection parameters from the inference file(s). Parameters ----------
- Read upRead up
Function from_config
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. Open
def from_config(cls, cp, data, delta_f=None, delta_t=None, gates=None, recalibration=None, **kwargs): """Initializes an instance of this class from the given config file. Parameters
- Read upRead up
Function plot_ranges_from_cli
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. Open
def plot_ranges_from_cli(opts): """Parses the mins and maxs arguments from the `plot_posterior` option group. Parameters
- Read upRead up
Line too long (81 > 79 characters) Open
"""Since this is just a single chain, forces p0 to have shape (nparams,).
- Read upRead up
- Exclude checks
Line too long (82 > 79 characters) Open
"""Given a pyplot axis, resamples its `which`-axis ticks such that are at most
- Read upRead up
- Exclude checks
FIXME found Open
# FIXME: the following if/else can be condensed to a single line
- Exclude checks
FIXME found Open
# FIXME: this just uses the same frequency cutoff for every instrument for
- Exclude checks
FIXME found Open
# FIXME: this just uses the same frequency cutoff for every instrument for
- Exclude checks
FIXME found Open
# FIXME: right now if there are two parameters it wants
- Exclude checks