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 we are using ruff for some linting rules and autopep8 for formatting.
ruff has its own formatter, which is pretty good, but is lacking an option to preserve string normalization. So, just for now, until PR astral-sh/ruff#8822 is merged, we will use black with --skip-string-normalization option.
why?
I prefeer using flake8-quotes with ruff for normalizing string quotes, as it allows the following configuration, which I personally prefeer:
Right now we are using
ruff
for some linting rules andautopep8
for formatting.ruff
has its own formatter, which is pretty good, but is lacking an option to preserve string normalization. So, just for now, until PR astral-sh/ruff#8822 is merged, we will useblack
with--skip-string-normalization
option.why?
I prefeer using
flake8-quotes
with ruff for normalizing string quotes, as it allows the following configuration, which I personally prefeer:The text was updated successfully, but these errors were encountered: