EveryVoiceTTS / EveryVoiceTTS/EveryVoice

`train_base_command()` is border line too complex according to flake8

Open
#474 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
45
Forks
4
Avg merge
1d 2h
Merged PRs (30d)
14

Description

While debugging for #419, I had to add some debugging code, not that much and when I tried to commit my changes, `flake8` was complaining that `train_base_command()` was too complex.
We should consider refactoring that function.

```
flake8...................................................................Failed
- hook id: flake8
- exit code: 1

everyvoice/base_cli/helpers.py:147:1: C901 'train_base_command' is too complex (42)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.