From 213b3e9b8ea1e4a84001d152580c2402f10fa88c Mon Sep 17 00:00:00 2001 From: jwest Date: Sun, 22 Aug 2021 10:34:37 -0400 Subject: [PATCH] Fix: fix linting issues in setup.py --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index b8a49cd..4467767 100755 --- a/setup.py +++ b/setup.py @@ -11,14 +11,14 @@ packages = [] thisPackage = "rcsb.utils.dictionary" -with open("rcsb/utils/dictionary/__init__.py", "r") as fd: +with open("rcsb/utils/dictionary/__init__.py", "r", encoding="utf-8") as fd: version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) # Load packages from requirements*.txt -with open("requirements.txt", "r") as ifh: +with open("requirements.txt", "r", encoding="utf-8") as ifh: packagesRequired = [ln.strip() for ln in ifh.readlines()] -with open("README.md", "r") as ifh: +with open("README.md", "r", encoding="utf-8") as ifh: longDescription = ifh.read() if not version: