mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-19 09:04:41 +04:00
yaml extensions and ordereddict are now imported from asottile.
This commit is contained in:
parent
c0a0a21680
commit
e58d28aad3
8 changed files with 18 additions and 99 deletions
|
|
@ -4,8 +4,11 @@ import pkg_resources
|
|||
import pytest
|
||||
import shutil
|
||||
import stat
|
||||
from asottile.ordereddict import OrderedDict
|
||||
from asottile.yaml import ordered_dump
|
||||
from plumbum import local
|
||||
|
||||
|
||||
import pre_commit.constants as C
|
||||
from pre_commit import git
|
||||
from pre_commit.clientlib.validate_config import CONFIG_JSON_SCHEMA
|
||||
|
|
@ -17,9 +20,7 @@ from pre_commit.commands import RepositoryCannotBeUpdatedError
|
|||
from pre_commit.commands import uninstall
|
||||
from pre_commit.commands import _update_repository
|
||||
from pre_commit.jsonschema_extensions import apply_defaults
|
||||
from pre_commit.ordereddict import OrderedDict
|
||||
from pre_commit.runner import Runner
|
||||
from pre_commit.yaml_extensions import ordered_dump
|
||||
from testing.auto_namedtuple import auto_namedtuple
|
||||
from testing.util import get_resource_path
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue