Commit 739b4221 authored by Adrian DC's avatar Adrian DC
Browse files

chore: setup: lint warnings on files 'open' calls

parent 1586cc04
Loading
Loading
Loading
Loading
Loading
+2 −2
Changes for setup.py: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -3,12 +3,12 @@ from setuptools import find_packages, setup

# Requirements
requirements = []
with open('requirements/runtime.txt') as f:
with open('requirements/runtime.txt', encoding='utf8', mode='r') as f:
    requirements = [line for line in f.read().splitlines() if not line.startswith('#')]

# Long description
long_description = '' # pylint: disable=invalid-name
with open('README.md', 'r') as f:
with open('README.md', encoding='utf8', mode='r') as f:
    long_description = f.read()

# Setup configurations