.flake8
author Nicholas Nethercote <nnethercote@mozilla.com>
Fri, 21 Apr 2017 13:23:34 +1000
changeset 402699 9baa76979a717579ad43a9814d0fed9c73717b5a
parent 370407 b0dae693fdbc687830ee450a88beec616c43f673
child 410935 97d503af98d9ac9e6fdba3d8c7f2ffc6c74bac27
permissions -rw-r--r--
Bug 1358074 (part 2) - Unexport and rename ProfilerState. r=mstange. gPS is declared in GeckoProfiler.h so that it can be tested as non-null in a couple of functions. - These checks are of little value, so this patch removes them. - That lets us remove the ProfilerState and gPS declarations from GeckoProfiler.h. - And, because ProfilerState is now only used within platform.cpp, that lets us rename it as PS, which is how we currently refer to it (via a typedef) within platform.cpp anyway.

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