Page MenuHomePhabricator

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

Authored by indygreg on Feb 4 2019, 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.

Event Timeline

indygreg created this revision.Feb 4 2019, 5:47 PM
This revision was automatically updated to reflect the committed changes.