Skip to content

Commit

Permalink
Add autopep8 (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
kytta authored Jul 3, 2023
1 parent 86892df commit a7b43f6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/pyproject_fmt/formatter/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def fmt_tools(parsed: TOMLDocument, conf: Config) -> None: # noqa: ARG001
"setuptools",
"setuptools_scm",
"hatch",
"autopep8",
"black",
"ruff",
"isort",
Expand Down
5 changes: 5 additions & 0 deletions tests/formatter/test_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ def test_tools_ordering(fmt: Fmt) -> None:
a = 0
[tool.setuptools]
a.b = 0
[tool.autopep8]
a = 0
"""
expected = """
Expand All @@ -45,6 +47,9 @@ def test_tools_ordering(fmt: Fmt) -> None:
[tool.hatch]
a = 0
[tool.autopep8]
a = 0
[tool.black]
a = 0
Expand Down

0 comments on commit a7b43f6

Please sign in to comment.