mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-20 01:24: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)
|
tox $(REBUILD_FLAG)
|
||||||
|
|
||||||
|
|
||||||
.venv.touch: setup.py requirements.txt requirements-dev.txt
|
.venv.touch: setup.py requirements-dev.txt
|
||||||
$(eval REBUILD_FLAG := --recreate)
|
$(eval REBUILD_FLAG := --recreate)
|
||||||
touch .venv.touch
|
touch .venv.touch
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
import os.path
|
import os.path
|
||||||
from asottile.cached_property import cached_property
|
from cached_property import cached_property
|
||||||
|
|
||||||
import pre_commit.constants as C
|
import pre_commit.constants as C
|
||||||
from pre_commit.clientlib.validate_manifest import load_manifest
|
from pre_commit.clientlib.validate_manifest import load_manifest
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
from asottile.cached_property import cached_property
|
|
||||||
from asottile.ordereddict import OrderedDict
|
from asottile.ordereddict import OrderedDict
|
||||||
|
from cached_property import cached_property
|
||||||
|
|
||||||
from pre_commit.languages.all import languages
|
from pre_commit.languages.all import languages
|
||||||
from pre_commit.manifest import Manifest
|
from pre_commit.manifest import Manifest
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ from __future__ import unicode_literals
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import os.path
|
import os.path
|
||||||
from asottile.cached_property import cached_property
|
from cached_property import cached_property
|
||||||
|
|
||||||
import pre_commit.constants as C
|
import pre_commit.constants as C
|
||||||
from pre_commit import git
|
from pre_commit import git
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ import logging
|
||||||
import os
|
import os
|
||||||
import os.path
|
import os.path
|
||||||
import tempfile
|
import tempfile
|
||||||
from asottile.cached_property import cached_property
|
from cached_property import cached_property
|
||||||
from plumbum import local
|
from plumbum import local
|
||||||
|
|
||||||
from pre_commit.prefixed_command_runner import PrefixedCommandRunner
|
from pre_commit.prefixed_command_runner import PrefixedCommandRunner
|
||||||
|
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
.
|
|
||||||
2
setup.py
2
setup.py
|
|
@ -32,9 +32,9 @@ setup(
|
||||||
},
|
},
|
||||||
install_requires=[
|
install_requires=[
|
||||||
'argparse',
|
'argparse',
|
||||||
'asottile.cached_property',
|
|
||||||
'asottile.ordereddict',
|
'asottile.ordereddict',
|
||||||
'asottile.yaml',
|
'asottile.yaml',
|
||||||
|
'cached-property',
|
||||||
'jsonschema',
|
'jsonschema',
|
||||||
'nodeenv>=0.9.4',
|
'nodeenv>=0.9.4',
|
||||||
'plumbum',
|
'plumbum',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue