mattbasta/amo-validator — comment on commit 047971aa80b389ea5300d1513f7cdfe209882e01
File: validator/submain.py line 63
By mattbasta:

Cool, thanks :)

Without an expectation, there's no real way to determine whether it's a webapp because there's no magic number or anything. If it's a .json or .webapp extension, you can make a pretty educated guess that it's a webapp type, though.