File tree Expand file tree Collapse file tree 13 files changed +23
-18
lines changed
Expand file tree Collapse file tree 13 files changed +23
-18
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ test: .venv.touch
1414 tox $(REBUILD_FLAG )
1515
1616
17- .venv.touch : setup.py requirements.txt requirements -dev.txt
17+ .venv.touch : setup.py requirements-dev.txt
1818 $(eval REBUILD_FLAG := --recreate)
1919 touch .venv.touch
2020
Original file line number Diff line number Diff line change 33
44import sys
55
6- from asottile .ordereddict import OrderedDict
76from asottile .yaml import ordered_dump
87from asottile .yaml import ordered_load
98from plumbum import local
1211from pre_commit .clientlib .validate_config import CONFIG_JSON_SCHEMA
1312from pre_commit .clientlib .validate_config import load_config
1413from pre_commit .jsonschema_extensions import remove_defaults
14+ from pre_commit .ordereddict import OrderedDict
1515from pre_commit .repository import Repository
1616
1717
Original file line number Diff line number Diff line change 22
33"""five: six, redux"""
44# pylint:disable=invalid-name
5- PY2 = ( str is bytes )
6- PY3 = ( str is not bytes )
5+ PY2 = str is bytes
6+ PY3 = str is not bytes
77
8- # provide a symettrical `text` type to `bytes`
9- if PY2 :
8+ if PY2 : # pragma: no cover (PY2 only)
109 text = unicode # flake8: noqa
11- else :
10+ else : # pragma: no cover (PY3 only)
1211 text = str
Original file line number Diff line number Diff line change 11from __future__ import unicode_literals
22
33import os .path
4- from asottile . cached_property import cached_property
4+ from cached_property import cached_property
55
66import pre_commit .constants as C
77from pre_commit .clientlib .validate_manifest import load_manifest
Original file line number Diff line number Diff line change 1+ from __future__ import absolute_import
2+ from __future__ import unicode_literals
3+
4+ try :
5+ from collections import OrderedDict # noqa
6+ except ImportError : # pragma: no cover (PY26)
7+ from ordereddict import OrderedDict # noqa
Original file line number Diff line number Diff line change 11from __future__ import unicode_literals
22
3- from asottile .cached_property import cached_property
4- from asottile .ordereddict import OrderedDict
3+ from cached_property import cached_property
54
65from pre_commit .languages .all import languages
76from pre_commit .manifest import Manifest
7+ from pre_commit .ordereddict import OrderedDict
88from pre_commit .prefixed_command_runner import PrefixedCommandRunner
99
1010
Original file line number Diff line number Diff line change 22
33import os
44import os .path
5- from asottile . cached_property import cached_property
5+ from cached_property import cached_property
66
77import pre_commit .constants as C
88from pre_commit import git
Original file line number Diff line number Diff line change 55import os
66import os .path
77import tempfile
8- from asottile . cached_property import cached_property
8+ from cached_property import cached_property
99from plumbum import local
1010
1111from pre_commit .prefixed_command_runner import PrefixedCommandRunner
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3232 },
3333 install_requires = [
3434 'argparse' ,
35- 'asottile.cached_property' ,
36- 'asottile.ordereddict' ,
3735 'asottile.yaml' ,
36+ 'cached-property' ,
3837 'jsonschema' ,
3938 'nodeenv>=0.9.4' ,
39+ 'ordereddict' ,
4040 'plumbum' ,
4141 'pyyaml' ,
4242 'simplejson' ,
You can’t perform that action at this time.
0 commit comments