Upgrade flake8/pyflakes for Py3 compatibility

This commit is contained in:
Kagami Sascha Rosylight 2020-06-20 23:33:16 +02:00
parent 232d9269e7
commit 98a40a432c
2 changed files with 5 additions and 5 deletions

View file

@ -11,9 +11,9 @@ setuptools == 39.0
toml == 0.9.2
# For Python linting
flake8 == 2.4.1
flake8 == 3.8.3
pep8 == 1.5.7
pyflakes == 0.8.1
pyflakes == 2.2.0
# For buildbot checking
voluptuous == 0.10.5

View file

@ -14,7 +14,7 @@ from setuptools import setup, find_packages
VERSION = '0.3.0'
install_requires = [
"flake8==2.4.1",
"flake8==3.8.3",
"toml==0.9.2",
"colorama==0.3.7",
"voluptuous==0.11.5",
@ -26,13 +26,13 @@ here = os.path.dirname(os.path.abspath(__file__))
try:
with open(os.path.join(here, 'README.rst')) as doc:
readme = doc.read()
except:
except FileNotFoundError:
readme = ''
try:
with open(os.path.join(here, 'HISTORY.rst')) as doc:
history = doc.read()
except:
except FileNotFoundError:
history = ''
long_description = readme + '\n\n' + history