Page MenuHomePhabricator

[lint] fix deprecation warning printed to stderr by black
ClosedPublic

Authored by PiRK on May 10 2023, 16:55.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC8d208f8edbd8: [lint] fix deprecation warning printed to stderr by black
Summary

This makes the linter fail when running arc lint --everything but for some reason it did not trigger when running arc lint -- somefile.py.
Note that this change in flag adds some extra rules, in addition to string splitting, as described here: https://black.readthedocs.io/en/stable/the_black_code_style/future_style.html#preview-style

These rules are likely to be accepted in the future standard and look like improvements.

Test Plan

arc lint --everything

Diff Detail

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