pre-commit, tox: Bump black from 19.10b0 to 22.3.0
black
is considered stable since release 22.1.0
and the version
we are currently using is quite outdated and not compatible with
click 8.1.0
, so it is time to bump it to its latest stable release.
I intend to migrate all repos to latest black release the following way:
- one commit to bump black version in
.pre-commit-config.yaml
andtox.ini
- one commit to reformat whole Python code in the repo with latest black release, in order to avoid mixing updated formatting and real changes in future diffs
(swh) ✘-INT ~/swh/swh-environment [arcpatch-D7493_1 L|✚ 2⚑ 67]
13:39 $ ./bin/change-all-repos "sed -i s/19.10b0/22.3.0/ .pre-commit-config.yaml tox.ini" "pre-commit, tox: Bump black from 19.10b0 to 22.3.0
black is considered stable since release 22.1.0 and the version
we are currently using is quite outdated and not compatible with
click 8.1.0, so it is time to bump it to its latest stable release.
Related to swh/devel/swh-environment#3922"
(swh) ✘-INT ~/swh/swh-environment [arcpatch-D7493_1 L|✚ 2⚑ 67]
13:39 $ ./bin/change-all-repos "black swh" "python: Reformat code with black 22.3.0
Related to swh/devel/swh-environment#3922"
Related to swh-environment#3922 (closed)
Migrated from D7502 (view on Phabricator)