Skip to content

Commit

Permalink
Fix mypy error
Browse files Browse the repository at this point in the history
  • Loading branch information
AtomHare committed Dec 11, 2023
1 parent a54f43f commit 8a2539e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ def dump_manifest(contents: t.Dict, manifest_path: t.Union[Path, str]):
if "max_line_length" in conf:
try:
max_line_length = int(conf.get("max_line_length"))
_yaml.width = max_line_length
_yaml.width = max_line_length # type: ignore # See https://sourceforge.net/p/ruamel-yaml/tickets/322/
except ValueError:
log.error("max_line_length EditorConfig variable is not valid")

Expand Down

0 comments on commit 8a2539e

Please sign in to comment.