( )⚙ D11072 check-code: add a rules to catch os.path.abspath

This is an archive of the discontinued Mercurial Phabricator instance.

check-code: add a rules to catch os.path.abspath
ClosedPublic

Authored by marmoute on Jul 10 2021, 1:46 PM.

Details

Summary

All previous usages have been migrated. So let us add a check-code rules to
catch future usages.

We restrict it to mercurial/ and hgext/ because multiple other script never
depends on Mercurial modules.

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.