.flake8
author Nicholas Nethercote <nnethercote@mozilla.com>
Thu, 01 Sep 2016 15:01:16 +1000
changeset 312403 93657f8dedaafa384bcd49c71b52e195ec968de8
parent 303103 63214a08673f5463749cc5f15230fda06ef6c5f8
child 314828 e1d144423657aa6b1def32f6f0c6825d8741a429
permissions -rw-r--r--
Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm. The new name makes the sense of the condition much clearer. E.g. compare: NS_WARN_IF_FALSE(!rv.Failed()); with: NS_WARNING_ASSERTION(!rv.Failed()); The new name also makes it clearer that it only has effect in debug builds, because that's standard for assertions.

[flake8]
max-line-length = 99
filename = *.py, +.lint