提交 28ae8924 编辑于 作者: Timothy Crosley's avatar Timothy Crosley
浏览文件

Black formatting

显示 1 个添加1 个删除
+1 -1
......@@ -587,7 +587,7 @@ def _get_config_data(file_path: str, sections: Tuple[str]) -> Dict[str, Any]:
settings["indent"] = "\t" * (indent_size and int(indent_size) or 1)
max_line_length = settings.pop("max_line_length", "").strip()
if (max_line_length and (max_line_length == "off" or max_line_length.isdigit())):
if max_line_length and (max_line_length == "off" or max_line_length.isdigit()):
settings["line_length"] = (
float("inf") if max_line_length == "off" else int(max_line_length)
)
......
支持 Markdown
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册