Skip to content

Commit 203c554

Browse files
committed
Use cached-property package.
1 parent 3a38cf4 commit 203c554

File tree

7 files changed

+6
-7
lines changed

7 files changed

+6
-7
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

pre_commit/manifest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from __future__ import unicode_literals
22

33
import os.path
4-
from asottile.cached_property import cached_property
4+
from cached_property import cached_property
55

66
import pre_commit.constants as C
77
from pre_commit.clientlib.validate_manifest import load_manifest

pre_commit/repository.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from __future__ import unicode_literals
22

3-
from asottile.cached_property import cached_property
43
from asottile.ordereddict import OrderedDict
4+
from cached_property import cached_property
55

66
from pre_commit.languages.all import languages
77
from pre_commit.manifest import Manifest

pre_commit/runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import os
44
import os.path
5-
from asottile.cached_property import cached_property
5+
from cached_property import cached_property
66

77
import pre_commit.constants as C
88
from pre_commit import git

pre_commit/store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import os
66
import os.path
77
import tempfile
8-
from asottile.cached_property import cached_property
8+
from cached_property import cached_property
99
from plumbum import local
1010

1111
from pre_commit.prefixed_command_runner import PrefixedCommandRunner

requirements.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
},
3333
install_requires=[
3434
'argparse',
35-
'asottile.cached_property',
3635
'asottile.ordereddict',
3736
'asottile.yaml',
37+
'cached-property',
3838
'jsonschema',
3939
'nodeenv>=0.9.4',
4040
'plumbum',

0 commit comments

Comments
 (0)