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
With the recent introduction of ruff formatter (docs), we can investigate if we can reduce the number of development dependencies by 1.
All of the black related config within pyproject.toml can be rewritten to ruff style config, but we also use black to format code within tools/update_init_file.py (around here), as such:
# Format file content with blacknew_file_content=black.format_str("\n".join(new_lines), mode=black.Mode())
I don't think this usage of black is possible with ruff yet, but please correct me if I'm wrong.
With the recent introduction of ruff formatter (docs), we can investigate if we can reduce the number of development dependencies by 1.
All of the
black
related config withinpyproject.toml
can be rewritten toruff
style config, but we also useblack
to format code withintools/update_init_file.py
(around here), as such:I don't think this usage of
black
is possible withruff
yet, but please correct me if I'm wrong.(initial attempt in this branch)
The text was updated successfully, but these errors were encountered: