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