crowsonkb / k-diffusion

Karras et al. (2022) diffusion models for PyTorch
MIT License
2.21k stars 371 forks source link

Fix lint issues using ruff #61

Open akx opened 1 year ago

akx commented 1 year ago

This PR adds a configuration for the ruff linter and fixes some minor issues found by it, both by hand and automatically.

I didn't add e.g. a CI step or pre-commit configuration for ruff, but that could definitely be done too :)

akx commented 10 months ago

Rebased on top of 0.1.0...

akx commented 5 months ago

Rebased on top of 0.2.0.