enforce E501 in setup.py (MR 2058)

This commit is contained in:
Caio Fontes 2021-05-19 15:13:08 -03:00 committed by Oliver Smith
parent e27bb82252
commit 2b8efb996b
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
1 changed files with 4 additions and 2 deletions

View File

@ -29,7 +29,8 @@ here = path.abspath(path.dirname(__file__))
_version_re = re.compile(r'version\s+=\s+(.*)')
with open(path.join(here, 'pmb/config/__init__.py'), 'rb') as f:
version = str(ast.literal_eval(_version_re.search(f.read().decode('utf-8')).group(1)))
version = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
@ -38,7 +39,8 @@ with open(path.join(here, 'README.md'), encoding='utf-8') as f:
setup(
name='pmbootstrap',
version=version,
description='A sophisticated chroot / build / flash tool to develop and install postmarketOS',
description='A sophisticated chroot / build / flash tool to '
'develop and install postmarketOS',
long_description=long_description,
long_description_content_type='text/markdown',
author='postmarketOS Developers',