.flake8
author Gijs Kruitbosch <gijskruitbosch@gmail.com>
Mon, 03 Oct 2016 13:52:19 +0100
changeset 317634 176c3e7915d1cf685119066783607684876e9312
parent 315861 cce196d1d7b48958abcb1b23bc3afce6f223f074
child 325416 b0dae693fdbc687830ee450a88beec616c43f673
permissions -rw-r--r--
Bug 1305339 - part 2: use URI flags to determine if data is from the web, r=mstange,bz This actually accomplishes what was discussed in the bug and marks any file with the relevant URI flags as WebDownload, and everything else as OtherDownload. Note that I'm using DoGetProtocolFlags in order to deal with nsIProtocolHandlerWithDynamicFlags correctly; while just getting protocol flags from the IO service directly would be less work, it's technically less correct. MozReview-Commit-ID: HgD1fV98IEc

[flake8]
# See http://pep8.readthedocs.io/en/latest/intro.html#configuration
ignore = E121, E123, E126, E133, E226, E241, E242, E704, W503, E402
max-line-length = 99
filename = *.py, +.lint