152334H / tortoise-tts-fast

Fast TorToiSe inference (5x or your money back!)
GNU Affero General Public License v3.0
771 stars 179 forks source link

Automatic formatting/fixing #22

Closed Ryu1845 closed 1 year ago

Ryu1845 commented 1 year ago

Goals are to improve general code quality. I'm open to suggestions about sub-tasks or anything else. This PR is set to draft until I think it might be ready to be merged, feel free to review/suggest changes.

152334H commented 1 year ago

That's a big diff, but I'm assuming nothing breaking will happen if they're all just linters/fixers

Ryu1845 commented 1 year ago

Yes, I haven't changed anything here yet.

Ryu1845 commented 1 year ago

Thinking about it, separating the refactor and autolint/fix seems to be a better idea. The refactor is probably gonna take some time, and the automatic formatting would screw things up for other changes.

152334H commented 1 year ago

do you have config files / commands to run for this so that I can upkeep it in the long term?

Ryu1845 commented 1 year ago
ruff --fix-only .
isort **/**.py
black .