Closed cclauss closed 4 years ago
flake8 testing of https://github.com/andabi/deep-voice-conversion on Python 3.6.3
$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
./tools/split_wav.py:45:16: E999 SyntaxError: invalid syntax map(lambda (i, w): write(w, sr, '{}/{}_{}.wav'.format(target_path, filename, i)), enumerate(split_wavs)) ^
The () probably need to be removed so it reads:
map(lambda i, w: write(w, sr, '{}/{}_{}.wav'.format(target_path, filename, i)), enumerate(split_wavs))
@cclauss The code is written in Python 2.7. Thanks for the issue.
https://pythonclock.org
flake8 testing of https://github.com/andabi/deep-voice-conversion on Python 3.6.3
$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
The () probably need to be removed so it reads: