Page MenuHomePhabricator

check-code: allow an exception for camelcase where required
ClosedPublic

Authored by sid0 on Oct 2 2017, 5:35 AM.

Details

Summary

unittest has a maxDiff parameter which has to be set to None in order for
large enough failure diffs to be displayed. Add a comment to disable the
camelcase check for self.maxDiff = None lines.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

sid0 created this revision.Oct 2 2017, 5:35 AM
indygreg accepted this revision.Oct 2 2017, 6:26 AM
This revision is now accepted and ready to land.Oct 2 2017, 6:26 AM
This revision was automatically updated to reflect the committed changes.