Skip to content

Commit d896266

Browse files
committed
fix isort add-imports config
1 parent 2ff9688 commit d896266

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

libmodernize/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
|_|_|_\\___/\\__,_\\___|_| |_||_|_/__\\___|\
66
"""
77

8+
from __future__ import generator_stop
89

910
import logging
1011
import optparse

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[tool.isort]
66
profile = "black"
7-
add_imports="from __future__ import generator_stop"
7+
add_imports=["from __future__ import generator_stop"]
88

99
[tool.pytest.ini_options]
1010
addopts = [

0 commit comments

Comments
 (0)