Page MenuHomePhabricator

Ignore lint check on randbytes since it's wrapped in a version check
ClosedPublic

Authored by sdulfari on Jun 22 2022, 21:44.

Details

Summary

With Python 3.8 and below, the linter complains that random does not have randbytes as an attribute.
This is fine since random.randbytes is wrapped in a version check. This patch makes the linter ignore
that.

Depends on D11654

Test Plan
arc lint

Diff Detail

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