fix: check that imports are ZIPs (#21875)

This commit is contained in:
Beto Dealmeida
2022-10-26 12:15:46 -07:00
committed by AAfghahi
parent d779789652
commit a8a92d7a69
5 changed files with 216 additions and 7 deletions

View File

@@ -14,7 +14,8 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# pylint: disable=invalid-name, import-outside-toplevel
# pylint: disable=invalid-name, import-outside-toplevel, unused-argument
import json
from io import BytesIO