mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Use cached-property package.
This commit is contained in:
parent
3a38cf4227
commit
203c554734
7 changed files with 6 additions and 7 deletions
2
Makefile
2
Makefile
|
|
@ -14,7 +14,7 @@ test: .venv.touch
|
|||
tox $(REBUILD_FLAG)
|
||||
|
||||
|
||||
.venv.touch: setup.py requirements.txt requirements-dev.txt
|
||||
.venv.touch: setup.py requirements-dev.txt
|
||||
$(eval REBUILD_FLAG := --recreate)
|
||||
touch .venv.touch
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
from __future__ import unicode_literals
|
||||
|
||||
import os.path
|
||||
from asottile.cached_property import cached_property
|
||||
from cached_property import cached_property
|
||||
|
||||
import pre_commit.constants as C
|
||||
from pre_commit.clientlib.validate_manifest import load_manifest
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
from __future__ import unicode_literals
|
||||
|
||||
from asottile.cached_property import cached_property
|
||||
from asottile.ordereddict import OrderedDict
|
||||
from cached_property import cached_property
|
||||
|
||||
from pre_commit.languages.all import languages
|
||||
from pre_commit.manifest import Manifest
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ from __future__ import unicode_literals
|
|||
|
||||
import os
|
||||
import os.path
|
||||
from asottile.cached_property import cached_property
|
||||
from cached_property import cached_property
|
||||
|
||||
import pre_commit.constants as C
|
||||
from pre_commit import git
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import logging
|
|||
import os
|
||||
import os.path
|
||||
import tempfile
|
||||
from asottile.cached_property import cached_property
|
||||
from cached_property import cached_property
|
||||
from plumbum import local
|
||||
|
||||
from pre_commit.prefixed_command_runner import PrefixedCommandRunner
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
.
|
||||
2
setup.py
2
setup.py
|
|
@ -32,9 +32,9 @@ setup(
|
|||
},
|
||||
install_requires=[
|
||||
'argparse',
|
||||
'asottile.cached_property',
|
||||
'asottile.ordereddict',
|
||||
'asottile.yaml',
|
||||
'cached-property',
|
||||
'jsonschema',
|
||||
'nodeenv>=0.9.4',
|
||||
'plumbum',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue