Skip to content

Commit 51ce658

Browse files
committed
Fix default value of target_versions parameter in black config
1 parent 81dd376 commit 51ce658

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • extensions/fine_python_black/fine_python_black

extensions/fine_python_black/fine_python_black/action.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class BlackFormatHandlerConfig(code_action.ActionHandlerConfig):
5050
# Literal["PY33", "PY34", "PY35", "PY36", "PY37",
5151
# "PY38", "PY39", "PY310", "PY311", "PY312"]
5252
str
53-
] = []
53+
] = dataclasses.field(default_factory=list)
5454
# default black line length is 88:
5555
# https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#line-length
5656
line_length: int = 88

0 commit comments

Comments
 (0)