Skip to content

Commit

Permalink
Revert "refactor: split long-string for black"
Browse files Browse the repository at this point in the history
This reverts commit 55db115.
  • Loading branch information
KyleKing committed Feb 2, 2025
1 parent ebf479d commit aefe569
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/mdformat/_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,13 +306,7 @@ def make_arg_parser(
if action.default not in {None, argparse.SUPPRESS}:
import warnings

text = (
f"The argument default for {action.option_strings}"
f" from the '{plugin_id}' plugin, will always"
" override any value configured in TOML. The only"
" supported CLI defaults are `None` or `argparse."
"SUPPRESS`"
)
text = f"The argument default for {action.option_strings} from the '{plugin_id}' plugin, will always override any value configured in TOML. The only supported CLI defaults are `None` or `argparse.SUPPRESS`" # noqa: E501
plugin_file, plugin_line = get_source_file_and_line(action)
warnings.warn_explicit(
text,
Expand Down

0 comments on commit aefe569

Please sign in to comment.