From bcacf4c328447df777527303bc92090519971e96 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Sun, 27 Feb 2022 13:32:41 +0100 Subject: [PATCH] Formatting --- setup.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/setup.py b/setup.py index b2509c766..9967ccc3b 100644 --- a/setup.py +++ b/setup.py @@ -22,19 +22,19 @@ import json from setuptools import setup, find_packages # Load package.json contents -with open("package.json") as data: - package = json.load(data) +with open("package.json") as f: + package = json.load(f) # Load list of dependencies -with open("requirements.txt") as data: +with open("requirements.txt") as f: install_requires = [ - line for line in data.read().split("\n") + line for line in f.read().split("\n") if line and not line.startswith("#") ] # Load README contents -with open("README.md", encoding = "utf-8") as data: - long_description = data.read() +with open("README.md", encoding = "utf-8") as f: + long_description = f.read() # Package description setup(