fix: check that imports are ZIPs (#21875)

This commit is contained in:
Beto Dealmeida
2022-10-26 12:15:46 -07:00
committed by GitHub
parent 779d9f7533
commit a88dfe24c7
5 changed files with 57 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