HomePhabricator

[linter] Make flake8 version >= 5 happy

Description

[linter] Make flake8 version >= 5 happy

Summary: The latest flake8 version expects the keywords to have no parenthesis (e.g. assert foo vs assert(foo) or a space (e.g. assert (foo)) if needed.

Test Plan:
With flake8 version 5.0.0:

arc lint --everything

ninja all check-all

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Subscribers: PiRK

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

Details

Provenance
FabienAuthored on Sep 2 2022, 13:48
FabienPushed on Sep 3 2022, 08:37
Reviewer
Restricted Project
Differential Revision
D11911: [linter] Make flake8 version >= 5 happy
Parents
rABCc690bfbcc80d: [Chronik] Add short README + logo
Branches
Unknown
Tags
Unknown