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 464480 5c0b9b9702ee7f456d59ef06304a93dfd0938851
parent 464479 fe7bf07f2ee940c52ddab81dcca699b30f3f1057
child 464481 3a39e45af185cdada307e0e2b4d161928d980817
push id112459
push userjames@hoppipolla.co.uk
push dateSat, 16 Mar 2019 13:00:50 +0000
treeherdermozilla-inbound@f798b9ef8e66 [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