Skip to content

Commit

Permalink
chore: make python3.8-compatible (#2)
Browse files Browse the repository at this point in the history
chore: use python 3.8-style typing
  • Loading branch information
alex-liang3 authored Dec 12, 2024
1 parent ec2b340 commit 5c749de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions isort/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,9 @@ def sorted_imports(
section_output.append(section_comment_end)

if section in config.separate_packages:
group_keys: set[str] = set()
comments_above: list[str] = []
processed_section_output: list[str] = []
group_keys: Set[str] = set()
comments_above: List[str] = []
processed_section_output: List[str] = []
for section_line in section_output:
if section_line.startswith("#"):
comments_above.append(section_line)
Expand Down

0 comments on commit 5c749de

Please sign in to comment.