Updated code quality class doc string, import ignore & comment spaces in setup.py #1817

Merged
kdcis merged 3 commits from v0.6-codequality-setup into v0.6 2021-09-30 13:48:18 +02:00
Showing only changes of commit 135715905f - Show all commits

View File

@ -27,6 +27,8 @@ EXTRAS_REQUIRE = {
class InstallCmd(install): class InstallCmd(install):
'''Install cmd'''
def run(self): def run(self):
# prepare icons directories # prepare icons directories
try: try:
@ -84,7 +86,7 @@ if __name__ == "__main__":
"msgpack-python" if msgpack.version[:2] < (0, 6) else "msgpack") "msgpack-python" if msgpack.version[:2] < (0, 6) else "msgpack")
except ImportError: except ImportError:
try: try:
import umsgpack import umsgpack # noqa:F401
installRequires.append("umsgpack") installRequires.append("umsgpack")
except ImportError: except ImportError:
packages += ['pybitmessage.fallback.umsgpack'] packages += ['pybitmessage.fallback.umsgpack']