From fae0badd3074ae6f949c4ebf72652628276f0c3a Mon Sep 17 00:00:00 2001 From: Hideo Hattori Date: Sat, 22 Jun 2024 15:40:59 +0900 Subject: [PATCH] refactor --- autopep8.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autopep8.py b/autopep8.py index d3e92fcd..f906383c 100755 --- a/autopep8.py +++ b/autopep8.py @@ -4100,7 +4100,7 @@ def read_pyproject_toml(args, parser): if config.get("tool", {}).get("autopep8") is None: return None - config = config.get("tool").get("autopep8") + config = config.get("tool", {}).get("autopep8") defaults = {} option_list = {o.dest: o.type or type(o.default)