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
Ruff formatting and fixes that are compatible with current checks (#1817)
Part of #1807
In #1806 , we fixed a lot of things identified by ruff. This PR
introduces the configuration and finishes the rest of them.
This PR includes formatting changes preferred by `ruff format` for which
unmodified `check/format-incremental` is also happy with. The ruff
formatter is mostly compatible with `black`, please see
https://docs.astral.sh/ruff/formatter/black/
This PR disabled `flynt`. I don't think this is a high-value automation,
we can do it with future ruff checks if we want, and it kept trying to
mangle an fstring in shell_tools that required python 3.12+ (and there's
no simple way to disable it for that line)
cc @fdmalone@mhucka
-----
this also revealed
https://github.com/quantumlib/Qualtran/pull/1810/changes#r2835413664
which I'll open an issue for if there isn't a simple resolution
0 commit comments