Page MenuHomePhabricator

[lint] bump black to >=24
ClosedPublic

Authored by PiRK on Feb 2 2024, 11:55.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC5b3bc809852d: [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)

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

PiRK requested review of this revision.Feb 2 2024, 11:55
PiRK edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Feb 2 2024, 12:18
This revision was automatically updated to reflect the committed changes.