Skip to content

Commit

Permalink
Describe *why* isort is configured, not what it is
Browse files Browse the repository at this point in the history
In general I think comments should describe 'why' rather than
'what', or they end up being mostly noise.
  • Loading branch information
yuvipanda committed Dec 30, 2024
1 parent 5fbf7c5 commit fbdb331
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ build-backend = "setuptools.build_meta"
target-version = ["py38", "py39", "py310", "py311"]


# isort is used for autoformatting Python code
# The default isort output conflicts with black autoformatting.
# Tell isort to behave nicely with black
# See https://pycqa.github.io/isort/docs/configuration/black_compatibility.html
# for more information.
[tool.isort]
profile = "black"

Expand Down

0 comments on commit fbdb331

Please sign in to comment.