Skip to content

Commit

Permalink
Format with black after ruff, not before
Browse files Browse the repository at this point in the history
Otherwise one can end up with poe format not being idempotent
  • Loading branch information
MischaPanch authored May 22, 2024
1 parent ae4a691 commit ab319b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion {{cookiecutter.project_name}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ lint = ["_black_check", "_ruff_check", "_ruff_check_nb"]
_poetry_install_sort_plugin = "poetry self add poetry-plugin-sort"
_poetry_sort = "poetry sort"
clean-nbs = "python docs/nbstripout.py"
format = ["_black_format", "_ruff_format", "_ruff_format_nb", "_poetry_install_sort_plugin", "_poetry_sort"]
format = ["_ruff_format", "_ruff_format_nb", "_black_format", "_poetry_install_sort_plugin", "_poetry_sort"]
_autogen_rst = "python docs/autogen_rst.py"
_sphinx_build = "sphinx-build -W -b html docs docs/_build"
_jb_generate_toc = "python docs/create_toc.py"
Expand Down

0 comments on commit ab319b8

Please sign in to comment.