Bug 1528830 [wpt PR 15450] - Update flake8 to 3.7.6, a=testonly
authorpyup.io bot <github-bot@pyup.io>
Wed, 06 Mar 2019 10:34:49 +0000
changeset 464604 5c0b9b9702ee
parent 464603 fe7bf07f2ee9
child 464605 3a39e45af185
push id35717
push useraciure@mozilla.com
push dateSun, 17 Mar 2019 09:45:26 +0000
treeherdermozilla-central@e0861be8d6c0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1528830, 15450
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1528830 [wpt PR 15450] - Update flake8 to 3.7.6, a=testonly Automatic update from web-platform-tests Update flake8 to 3.7.6 (#15450) -- wpt-commits: 34e6ee21a64e1b2a9b774f102b1b183ea9858512 wpt-pr: 15450
testing/web-platform/tests/tools/requirements_flake8.txt
testing/web-platform/tests/tools/wpt/utils.py
--- a/testing/web-platform/tests/tools/requirements_flake8.txt
+++ b/testing/web-platform/tests/tools/requirements_flake8.txt
@@ -1,4 +1,4 @@
-flake8==3.6.0
+flake8==3.7.6
 pycodestyle==2.5.0
 pyflakes==2.1.0
 pep8-naming==0.7.0
--- a/testing/web-platform/tests/tools/wpt/utils.py
+++ b/testing/web-platform/tests/tools/wpt/utils.py
@@ -1,15 +1,20 @@
 import logging
 import os
 import subprocess
 import tarfile
 import zipfile
 from io import BytesIO
 
+try:
+    from typing import Any
+except ImportError:
+    pass
+
 logger = logging.getLogger(__name__)
 
 
 class Kwargs(dict):
     def set_if_none(self,
                     name,            # type: str
                     value,           # type: Any
                     err_fn=None,     # type: (Kwargs, str) -> Any