Skip to content

Commit

Permalink
Fix: fix linting issues in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jdwestbrook committed Aug 22, 2021
1 parent 9e341b3 commit 213b3e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 213b3e9

Please sign in to comment.