Skip to content

Commit

Permalink
Merge pull request #2183 from skatromb/wemake-line-length-80
Browse files Browse the repository at this point in the history
Fix 80 line length for `wemake` linter
  • Loading branch information
staticdev committed Dec 9, 2023
2 parents 885f6ad + e9ab392 commit 4c3ef5f
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
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
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 4c3ef5f

Please sign in to comment.