Skip to content

Commit

Permalink
strict lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hhatto committed May 29, 2024
1 parent f516b29 commit 7253375
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion autopep8.py
Original file line number Diff line number Diff line change
Expand Up @@ -3972,7 +3972,11 @@ def parse_args(arguments, apply_config=False):
original_formatwarning = warnings.formatwarning
warnings.formatwarning = _custom_formatwarning
if args.experimental:
warnings.warn("`experimental` option is deprecated and will be removed in a future version.", DeprecationWarning)
warnings.warn(
"`experimental` option is deprecated and will be "
"removed in a future version.",
DeprecationWarning,
)
warnings.formatwarning = original_formatwarning

return args
Expand Down

0 comments on commit 7253375

Please sign in to comment.