From aeed98a955a6625a0368d4606e82b11115f0b463 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 30 Nov 2022 10:18:17 -0700 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#709) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 6 +++--- model_clone/mixin.py | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 15ac3907..3bfdb211 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/PyCQA/autoflake - rev: v1.7.7 + rev: v2.0.0 hooks: - id: autoflake args: ['--in-place', '--remove-all-unused-imports', '--remove-unused-variable'] @@ -12,7 +12,7 @@ repos: args: ["--profile", "black", "--filter-files"] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 + rev: v4.4.0 hooks: - id: trailing-whitespace exclude: ^docs/.*|.*.md @@ -32,6 +32,6 @@ repos: args: ["-d", "relaxed"] - repo: https://github.com/pycqa/flake8 - rev: 5.0.4 + rev: 6.0.0 hooks: - id: flake8 diff --git a/model_clone/mixin.py b/model_clone/mixin.py index 930425f0..f1568d51 100644 --- a/model_clone/mixin.py +++ b/model_clone/mixin.py @@ -1,7 +1,6 @@ import itertools import warnings from itertools import repeat -from typing import Dict, List, Optional from conditional import conditional from django.core.checks import Error