Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow using tox to reformat the working copy
By default, tox should check that the code is correctly formatted CI-style. However it can be useful to use it to *fix* the code as well. By using `--diff` as an overridable default, tox -eblack -- becomes an easy way to reformat the working copy. Technically it's not that much shorter than `ruff format`, but if the previous command was `tox -eblack` (to check formatting) then it becomes a smaller change, and I don't have to remember the ruff invocation.
- Loading branch information