HomePhabricator

[lint] bump black to >=24

Description

[lint] bump black to >=24

Summary:
This is the yearly bumping for the black linter. Black guarantees that the default formatting will not change between major versions.
Note that black currently supports python >= 3.8

Also note that previously we had black >=22.8 instead of >=23 to keep support python 3.6.

I manually moved some comments to the previous line instead of same line, to avoid clumsy auto-formatting changes.

Depend in D15373

Test Plan:
Run Electrum ABC and the functional tests

arc lint --everything (check that no python file is changed)

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D15374

Details

Provenance
PiRKAuthored on Feb 2 2024, 11:34
PiRKPushed on Feb 5 2024, 08:13
Reviewer
Restricted Project
Differential Revision
D15374: [lint] bump black to >=24
Parents
rABC364cb01e0a6f: bump minimum python version to 3.9
Branches
Unknown
Tags
Unknown