aboutsummaryrefslogtreecommitdiffstats
path: root/python/tidy
diff options
context:
space:
mode:
authorKagami Sascha Rosylight <saschanaz@outlook.com>2020-06-20 23:33:16 +0200
committerKagami Sascha Rosylight <saschanaz@outlook.com>2020-06-20 23:33:16 +0200
commit98a40a432c3a9f9dd4d12763aed3209e0d45eedd (patch)
treea25fcaf33485250969e97ba5c2e569b3df27b95d /python/tidy
parent232d9269e72de2ccea0b70edff4a817934fb4cd0 (diff)
downloadservo-98a40a432c3a9f9dd4d12763aed3209e0d45eedd.tar.gz
servo-98a40a432c3a9f9dd4d12763aed3209e0d45eedd.zip
Upgrade flake8/pyflakes for Py3 compatibility
Diffstat (limited to 'python/tidy')
-rw-r--r--python/tidy/setup.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/tidy/setup.py b/python/tidy/setup.py
index 66229fe4c91..c6fe447fe1a 100644
--- a/python/tidy/setup.py
+++ b/python/tidy/setup.py
@@ -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