From 39f3d580c8ae803551fbd5c30ee393c175a44c73 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 14 Mar 2022 22:18:37 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/asottile/reorder_python_imports: v2.7.1 → v3.0.1](https://github.com/asottile/reorder_python_imports/compare/v2.7.1...v3.0.1) - [github.com/asottile/pyupgrade: v2.31.0 → v2.31.1](https://github.com/asottile/pyupgrade/compare/v2.31.0...v2.31.1) - [github.com/pre-commit/mirrors-mypy: v0.931 → v0.940](https://github.com/pre-commit/mirrors-mypy/compare/v0.931...v0.940) - [github.com/pre-commit/mirrors-eslint: v8.10.0 → v8.11.0](https://github.com/pre-commit/mirrors-eslint/compare/v8.10.0...v8.11.0) --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5fea4130..cd502fca 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: hooks: - id: autopep8 - repo: https://github.com/asottile/reorder_python_imports - rev: v2.7.1 + rev: v3.0.1 hooks: - id: reorder-python-imports args: [--py36-plus] @@ -23,7 +23,7 @@ repos: - id: reorder-python-imports files: install-local.py - repo: https://github.com/asottile/pyupgrade - rev: v2.31.0 + rev: v2.31.1 hooks: - id: pyupgrade args: [--py36-plus] @@ -35,12 +35,12 @@ repos: hooks: - id: add-trailing-comma - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.931 + rev: v0.940 hooks: - id: mypy additional_dependencies: [types-all] - repo: https://github.com/pre-commit/mirrors-eslint - rev: v8.10.0 + rev: v8.11.0 hooks: - id: eslint args: [--fix] From bfff9149e8383f59a944d97fafade3bff6d72014 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 14 Mar 2022 22:19:23 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- install-local.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install-local.py b/install-local.py index 054956d1..e46e9816 100644 --- a/install-local.py +++ b/install-local.py @@ -4,7 +4,6 @@ from __future__ import unicode_literals import contextlib -import distutils.spawn import hashlib import io import os.path @@ -13,6 +12,8 @@ import sys import tarfile +import distutils.spawn + if str is bytes: from urllib import urlopen # type: ignore