facebookresearch/metaseq
View on GitHubConvert string matches to enum comparison if possible
Open
#311 opened on Aug 20, 2022
better-engconfigenhancementgood first issue
Repository metrics
- Stars
- (6,195 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
We have a lot of places where we do string matching, like:
or
which can all be found via: ag "== \"" --py.
Convert these all to comparing against enums if possible.