Skip to content

Commit 3b6926e

Browse files
authored
prevent a keyword clash in dict.update
1 parent 344fdd4 commit 3b6926e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mdformat_pyproject/plugin.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ def update_mdit(mdit: markdown_it.MarkdownIt) -> None:
100100
pyproject_opts = _parse_pyproject(pyproject_path)
101101
if pyproject_opts is not None:
102102
cli_opts = _reload_cli_opts()
103-
mdformat_options.update(**pyproject_opts, **cli_opts)
103+
mdformat_options.update(**pyproject_opts)
104+
mdformat_options.update(**cli_opts)
104105

105106

106107
RENDERERS: MutableMapping[str, Render] = {}

0 commit comments

Comments
 (0)