Skip to content
This repository was archived by the owner on Nov 2, 2022. It is now read-only.

Commit 9f5b383

Browse files
committed
specific line-length in pyproject.toml rather on command line arguments.
1 parent a3f50a0 commit 9f5b383

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

ci/travis.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ pip install -U pip setuptools wheel
5555

5656
if [ "$CHECK_FORMATTING" = "1" ]; then
5757
pip install black
58-
if ! black --check --diff -l 79 setup.py exceptiongroup; then
58+
if ! black --check --diff setup.py exceptiongroup; then
5959
cat <<EOF
6060
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
6161
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
6262
6363
Formatting problems were found (listed above). To fix them, run
6464
6565
pip install black
66-
black -l 79 setup.py exceptiongroup
66+
black setup.py exceptiongroup
6767
6868
in your local checkout.
6969

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ filename = "docs/source/history.rst"
44
directory = "newsfragments"
55
underlines = ["-", "~", "^"]
66
issue_format = "`#{issue} <https://github.com/python-trio/exceptiongroup/issues/{issue}>`__"
7+
8+
[tool.black]
9+
line-length = 79

0 commit comments

Comments
 (0)