From c43f64e5c9e35d1d363708016c31a9b3512af1ba Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Sun, 26 Apr 2020 14:09:01 +0200 Subject: [PATCH] Better var name --- setup.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/setup.py b/setup.py index 7999dbd..99e3456 100644 --- a/setup.py +++ b/setup.py @@ -2,11 +2,11 @@ from datetime import datetime from setuptools import setup, find_packages -with open("README.md") as fh: - long_description = fh.read() +with open("README.md") as readme_file: + long_description = readme_file.read() -with open("requirements.txt") as f: - requirements = f.read().splitlines() +with open("requirements.txt") as requirements_file: + requirements = requirements_file.read().splitlines() setup( name="PyNyaaTa", @@ -21,7 +21,7 @@ setup( install_requires=requirements, include_package_data=True, entry_points={ - 'console_scripts': ['pynyaata=pynyaata:run'], + "console_scripts": ["pynyaata=pynyaata:run"], }, classifiers=[ "Programming Language :: Python :: 3",