summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorChad Smith <chad.smith@canonical.com>2022-03-29 13:33:22 -0600
committerGitHub <noreply@github.com>2022-03-29 14:33:22 -0500
commit9f1876d7503f0878ae2f964b8d5703a3241df5db (patch)
tree2679bb3970fbdc80dd55967b0ca39b11eaef8d88 /tox.ini
parent461d2631010e54cab1ccf26a331c708796dae06a (diff)
downloadcloud-init-git-9f1876d7503f0878ae2f964b8d5703a3241df5db.tar.gz
black: bump pinned version to 22.3.0 to avoid click dependency issues (#1357)
Black < 22.3.0 didn't handle a dropped internal attribute _unicodefun from in more click package version 8.1.0. Due to issue Issue: https://github.com/psf/black/issues/2964 This broke our CI and tox -e do_format targets with cannot import name '_unicodefun' from 'click'. Increment our pinned black to 22.3.0 and apply minor format change rules.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index be3b3315..a400a3ab 100644
--- a/tox.ini
+++ b/tox.ini
@@ -10,7 +10,7 @@ passenv=
PYTEST_ADDOPTS
[format_deps]
-black==21.12b0
+black==22.3.0
flake8==3.9.2
isort==5.10.1
mypy==0.931