You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the code has a mix of spaces and tabs and not any consistent formatting, and when I load core.py in emacs flake8 gives up with too many errors.
I've used black for the vhs code but there are several other alternatives. A syntax checker like flake8 could also help clean up things, get rid of unused variables and maybe even uncover bugs.
Maybe also consider splitting up core.py as it's 3k lines.
The text was updated successfully, but these errors were encountered:
Thanks for the pointers... I've run black in the chad-2021.01.01 branch and handled a few flake8 complaints (and will probably gradually handle more)
Yeah, core.py should be split up. As part of the audio rework I'll put that into it's own file, and probably break out the threading bits as well. It's almost 4k lines now though after running through black...
Right now the code has a mix of spaces and tabs and not any consistent formatting, and when I load core.py in emacs flake8 gives up with too many errors.
I've used black for the vhs code but there are several other alternatives. A syntax checker like flake8 could also help clean up things, get rid of unused variables and maybe even uncover bugs.
Maybe also consider splitting up core.py as it's 3k lines.
The text was updated successfully, but these errors were encountered: