Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
apply-ruff
#748
by
alozowski
HF staff
- opened
No description provided.
It seems that we haven't applied either Ruff or Black to the codebase for a while, I suggest applying them file by file in this PR, let's make the code ✨pretty ✨
Checked out the files that have been actively changing over the month, it should be better now
Since I updated Makefile, here is how to use it now:
make style file=path/to/file.py
make quality file=path/to/file.py
Great ! Only thing is that you could remove black and only use ruff
to handle both linting and styling :)
Let's improve the Makefile, set the line length to 119 and remove black
alozowski
changed pull request title from
apply-ruff-black
to apply-ruff
Finished with the recently updated files
alozowski
changed pull request status to
open
great ! merging this :)
SaylorTwift
changed pull request status to
merged