This is an archive of the discontinued Mercurial Phabricator instance.

check-code: drop the camelcase checks
ClosedPublic

Authored by marmoute on Aug 19 2021, 2:12 PM.

Details

Summary

Fro about 2 years we have been using CamelCase is class names. That rules gets
in the way of assigning class or exception in compatibility layers.

I think it is safe to drop it now that we started using CamelCase for some case.

My motivation for this is the need to assign FileNotFoundError in pycompat.

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

marmoute created this revision.Aug 19 2021, 2:12 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.