From a7541ad8b4c5d31ab742ea0fb5460dc45e602f28 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Fri, 4 Aug 2023 14:13:44 -0700 Subject: [PATCH] tox: Pin pycodestyle to 2.10.0 They changed their API in 2.11.0 and broke autopep8 See: https://github.com/hhatto/autopep8/issues/689 and https://github.com/hhatto/autopep8/pull/696 --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 4abe591f..30b1b3b7 100644 --- a/tox.ini +++ b/tox.ini @@ -48,6 +48,7 @@ commands = [testenv:autopep8] deps = autopep8==2.0.2 + pycodestyle==2.10.0 commands = bash -c 'python -m autopep8 --diff --max-line-length 120 -a -a -a -j0 -r --exit-code {env:LINTABLES}'