From 5fc027cb2e19019100e24d82704d5fc85fbdf656 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Mon, 21 Apr 2025 01:01:13 +0900 Subject: [PATCH] Remove deprecated --experimental option of autopep8 This option was deprecated in v2.2.0[1]. [1] https://github.com/hhatto/autopep8/issues/422 Change-Id: I8be7fe4082f2f2630b492e469fa380bae04d2d03 --- tools/format.sh | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/format.sh b/tools/format.sh index ef5cc92e4c..9685cdf114 100755 --- a/tools/format.sh +++ b/tools/format.sh @@ -15,7 +15,7 @@ fi # isort is not compatible with the default flake8 (H306), maybe flake8-isort # isort -rc -sl -fss ../tempest ../setup.py -$AUTOPEP8 --exit-code --max-line-length=79 --experimental --in-place \ +$AUTOPEP8 --exit-code --max-line-length=79 --in-place \ -r ../tempest ../setup.py ERROR=$? diff --git a/tox.ini b/tox.ini index 0fbc252864..b8ba32b8fc 100644 --- a/tox.ini +++ b/tox.ini @@ -389,7 +389,7 @@ deps = {[testenv]deps} autopep8>=2.1.0 commands = - autopep8 --exit-code --max-line-length=79 --experimental --diff -r tempest setup.py + autopep8 --exit-code --max-line-length=79 --diff -r tempest setup.py flake8 {posargs} check-uuid