( )⚙ D895 check-code: allow an exception for camelcase where required

This is an archive of the discontinued Mercurial Phabricator instance.

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
Lint Skipped
Unit
Unit Tests Skipped

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.