Fix lint error

This commit is contained in:
Hsiao-Wei Wang 2021-05-25 21:40:10 +08:00
parent fc1af1cff3
commit 74761db7a3
No known key found for this signature in database
GPG Key ID: 1111A8A81778319E

View File

@ -913,7 +913,7 @@ class PySpecCommand(Command):
if not self.dry_run:
with open(os.path.join(self.out_dir, '__init__.py'), 'w') as out:
# `mainnet` is the default spec.
out.write("from . import mainnet as spec\n")
out.write("from . import mainnet as spec # noqa:F401\n")
class BuildPyCommand(build_py):