Bug 1528830 [wpt PR 15450] - Update flake8 to 3.7.6, a=testonly
☠☠ backed out by 66b1aba3fb43 ☠ ☠
authorpyup.io bot <github-bot@pyup.io>
Wed, 06 Mar 2019 10:34:49 +0000
changeset 464270 263580f65aea68089aff482a07c42cc8989511cb
parent 464269 65f41dd56207ddff084a16eb524f59a89e9ce515
child 464271 7d54ecab8dc11d9fc32dc17488dd41e6ca3f170b
push id35713
push usercbrindusan@mozilla.com
push dateFri, 15 Mar 2019 21:55:43 +0000
treeherdermozilla-central@66b1aba3fb43 [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