This is an archive of the discontinued Mercurial Phabricator instance.

pytype: suppress warnings about no 'open_binary' on importlib.resources
ClosedPublic

Authored by mharbison72 on Dec 16 2019, 11:46 PM.

Details

Summary

Fixes these pytype warnings:

line 43, in <module>: No attribute 'open_binary' on module 'importlib.resources' [module-attr]
line 47, in open_resource: No attribute 'open_binary' on module 'importlib.resources' [module-attr]

For some reason, I can't upgrade from 3.6.8 in my WSL environment.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped