• Home
  • Raw
  • Download

Lines Matching refs:f

107             f'[{self.COMMIT} '
108 f'{self.commit_index}/{self.num_commits} '
109 f'{commit[0:12]}] {commit_summary}'
123 f'[{self.RUNNING} '
124 f'{self.num_hooks - len(self.hooks)}/{self.num_hooks}] '
125 f'{pending}'
139 f'This hook took {d} to finish which is fairly slow for '
154 self.error(f'{hook.name} hook', error)
163 status_line = f'[{self.WARNING}] {hook.name}'
174 status_line = f'[{self.FAILED}] {header}'
188 f'[{self.FIXUP}] {result.hook} has automated fixups available',
189 f' cd {rh.shell.quote(project_results.workdir)} && \\',
190 f' {rh.shell.cmd_to_str(cmd)}',
200 f'[{header}] repohooks for {self.project_name} {status} in {d}',
228 ret += f' FILES: {rh.shell.cmd_to_str(result.files)}\n'
230 ret += '\n'.join(f' {x}' for x in lines)
278 banner = f'Multiple fixups ({len(fixups)}) are available.'
311 f'Run {result.hook} fixup for {result.commit}'
317 f'\n[{Output.RUNNING}] cd {rh.shell.quote(workdir)} && '
318 f'{rh.shell.cmd_to_str(cmd)}', file=sys.stderr)
324 print(f'[{Output.WARNING}] command exited {cmd_result.returncode}',
327 print(f'[{Output.PASSED}] great success', file=sys.stderr)
329 print(f'\n[{Output.FIXUP}] Please amend & rebase your tree before '
375 f'{e}\nDid you run repo start? Is your HEAD detached?')
468 print(f'{project_name} cannot be found.', file=sys.stderr)
472 print(f'{project_name} is associated with multiple directories.',
555 f'For more info, see: {REPOHOOKS_URL}',
576 f"^{module_path}$"]
626 parser.error(f'Invalid dir: {opts.dir}')
628 parser.error(f'Not a git repository: {opts.dir}')
635 parser.error(f"Couldn't identify the project of {opts.dir}")