WIP: progress dots

Based on @chriskuehl's branch here:
- f7213054ac
This commit is contained in:
Anthony Sottile 2019-10-19 13:30:02 -07:00
parent 4bd6529c05
commit f21257cdba
15 changed files with 69 additions and 31 deletions

View file

@ -100,9 +100,9 @@ class Hook(collections.namedtuple('Hook', ('src', 'prefix') + _KEYS)):
# Write our state to indicate we're installed
_write_state(self.prefix, venv, _state(self.additional_dependencies))
def run(self, file_args, color):
def run(self, file_args, color, progress):
lang = languages[self.language]
return lang.run_hook(self, file_args, color)
return lang.run_hook(self, file_args, color, progress)
@classmethod
def create(cls, src, prefix, dct):