Skip to content
Myr

Merge pull request #963 from lamby/895270-python-click-please-make-the-build-reproducible

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Make the build reproducible

authored by David Lord · committed by GitHub · parents 9db53b9, 23c787a · Browse files · 2 files+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+3 added−3 removed

  • other:+3 added−3 removed

2 files+3 added−3 removed

modified:docs/advanced.rst+2 added-2 removed
293 unmodified lines
294 ))295 @click.option('-v', '--verbose', is_flag=True, help='Enables verbose mode')296 @click.argument('timeit_args', nargs=-1, type=click.UNPROCESSED)297 def cli(verbose, timeit_args):298 """A wrapper around Python's timeit."""299 cmdline = ['python', '-mtimeit'] + list(timeit_args)298 """A fake wrapper around Python's timeit."""299 cmdline = ['echo', 'python', '-mtimeit'] + list(timeit_args)300 if verbose:301 click.echo('Invoking: %s' % ' '.join(cmdline))302 call(cmdline)303
76 unmodified lines
modified:docs/complex.rst+1 added-1 removed
208 unmodified lines
209210 @click.command()211 @pass_repo212 def cp(repo):213 click.echo(repo)213 click.echo(isinstance(repo, Repo))214215As you can see:216217.. click:run::
2 unmodified lines