From 53a993ec09142414a8798b197781e11a2f97bbfb Mon Sep 17 00:00:00 2001 From: Hideo Hattori Date: Wed, 29 May 2024 09:32:16 +0900 Subject: [PATCH] experimental option is deprecated --- autopep8.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autopep8.py b/autopep8.py index 437c92f7..31be3a48 100755 --- a/autopep8.py +++ b/autopep8.py @@ -3965,6 +3965,9 @@ def parse_args(arguments, apply_config=False): 'to the second', ) + if args.experimental: + warnings.warn("`experimental` option is deprecated and will be removed in a future version.", DeprecationWarning) + return args