Skip to content

Commit

Permalink
fix: new column width (#224)
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
  • Loading branch information
henryiii committed May 24, 2024
1 parent 81f9a20 commit 24bf123
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ The ``tool.pyproject-fmt`` table is used when present in the ``pyproject.toml``
[tool.pyproject-fmt]
# after how many column width split arrays/dicts into multiple lines, 1 will force always
column_width = 1
column_width = 120
# how many spaces use for indentation
indent = 2
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ dynamic = [
"version",
]
dependencies = [
"pyproject-fmt-rust==1.1.3",
"pyproject-fmt-rust==1.1.4",
"tomli>=2.0.1; python_version<'3.11'",
]
optional-dependencies.docs = [
Expand Down
2 changes: 1 addition & 1 deletion src/pyproject_fmt/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def _build_cli() -> ArgumentParser:
format_group.add_argument(
"--column-width",
type=int,
default=1,
default=120,
help="max column width in the TOML file",
metavar="count",
)
Expand Down

0 comments on commit 24bf123

Please sign in to comment.