Skip to content

Commit

Permalink
Align black line length for tox with precommit
Browse files Browse the repository at this point in the history
.pre-commit-config.yaml passes --line-length=79 to black, while
tox.ini was passing -l 78, which left five files flipping back
and forth between local and github checks.

Those five files conform to a 79-character length, so change
the local check to match the GitHub check.
  • Loading branch information
handrews committed Feb 22, 2023
1 parent 3875725 commit ea1e01e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ deps =
{[testenv:flake8]deps}
black
commands =
black -l 78 {env:BLACK_ARGS:} -t py37 src/rfc3986 tests/
black -l 79 {env:BLACK_ARGS:} -t py37 src/rfc3986 tests/
{[testenv:flake8]commands}

[testenv:flake8]
Expand Down

0 comments on commit ea1e01e

Please sign in to comment.