From ebd75760e1907bb4b1bc089ecf6f4405bf52e208 Mon Sep 17 00:00:00 2001 From: Sean Mooney Date: Thu, 8 May 2025 23:45:29 +0100 Subject: [PATCH] Allow autopep8 to fix more things Currently this does nothing because there are no addtional things in nova for it to fix. What this change really does is allow autopep8 to fix more things for you before you commit. Even in aggressive mode autopep8 is a very conservative code formatter so this is safe to enable. https://pypi.org/project/autopep8/#toc-entry-4 Change-Id: I4c5205feb87f99cf7a9bb4a5651f3c5a25ba9f0d --- pyproject.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 5e862a9593ae..eb97f74fab09 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,9 @@ [build-system] requires = ["pbr>=6.0.0", "setuptools>=64.0.0"] build-backend = "pbr.build" + +[tool.autopep8] +aggressive = 3 +in-place = true +recursive = true +