Skip to content

Commit

Permalink
80 line length for wemake linter
Browse files Browse the repository at this point in the history
  • Loading branch information
skatromb committed Oct 17, 2023
1 parent 9e0ad3d commit e9ab392
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion isort/profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"multi_line_output": 3,
"include_trailing_comma": True,
"use_parentheses": True,
"line_length": 80,
"line_length": 79,
}
appnexus = {
**black,
Expand Down
20 changes: 20 additions & 0 deletions tests/unit/profiles/test_wemake.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,23 @@ def test_wemake_snippet_three():
class _ClassVisitor(ast.NodeVisitor): ...
"""
)


def test_wemake_snippet_four():
"""80 line length should be fixed"""
wemake_isort_test(
"""
from typing import Iterable, Iterator, Optional, Sequence, Tuple, TypeVar, Union
""",
"""
from typing import (
Iterable,
Iterator,
Optional,
Sequence,
Tuple,
TypeVar,
Union,
)
""",
)

0 comments on commit e9ab392

Please sign in to comment.