check-py3-compat: provide filename to ast.parse()
ClosedPublic

Authored by indygreg on Mon, Feb 4, 5:47 PM.

Details

Summary

This ensures any warning/error messages print a valid filename instead of
potentially '<unknown>'.

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.
indygreg created this revision.Mon, Feb 4, 5:47 PM
This revision was automatically updated to reflect the committed changes.