We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de6a884 commit 81efc2dCopy full SHA for 81efc2d
1 file changed
pyls_black/plugin.py
@@ -97,7 +97,12 @@ def load_config(filename: str) -> Dict:
97
black.TargetVersion[x.upper()] for x in file_config["target_version"]
98
)
99
elif file_config.get("py36"):
100
- target_version = black.PY36_VERSIONS
+ target_version = {
101
+ black.TargetVersion.PY36,
102
+ black.TargetVersion.PY37,
103
+ black.TargetVersion.PY38,
104
+ black.TargetVersion.PY39,
105
+ }
106
else:
107
target_version = set()
108
0 commit comments