mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-19 09:04:41 +04:00
some manual py2 cleanups
This commit is contained in:
parent
30c1e8289f
commit
ab19b94811
23 changed files with 31 additions and 59 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import os.path
|
||||
from unittest import mock
|
||||
|
||||
import mock
|
||||
import pytest
|
||||
|
||||
from pre_commit.commands.clean import clean
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
import os.path
|
||||
|
||||
import mock
|
||||
from unittest import mock
|
||||
|
||||
import pre_commit.constants as C
|
||||
from pre_commit.commands.init_templatedir import init_templatedir
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
import os.path
|
||||
import re
|
||||
import sys
|
||||
|
||||
import mock
|
||||
from unittest import mock
|
||||
|
||||
import pre_commit.constants as C
|
||||
from pre_commit.commands.install_uninstall import CURRENT_HASH
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@ import os.path
|
|||
import pipes
|
||||
import sys
|
||||
import time
|
||||
from unittest import mock
|
||||
|
||||
import mock
|
||||
import pytest
|
||||
|
||||
import pre_commit.constants as C
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
import os.path
|
||||
import re
|
||||
import time
|
||||
|
||||
import mock
|
||||
from unittest import mock
|
||||
|
||||
from pre_commit import git
|
||||
from pre_commit.commands.try_repo import try_repo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue