Merge pull request #1608 from pre-commit/spelling

fix a few spelling errors
This commit is contained in:
Anthony Sottile 2020-09-20 19:42:27 -07:00 committed by GitHub
commit 1b3d14237a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -1108,7 +1108,7 @@ that have helped us get this far!
0.18.1 - 2017-09-04 0.18.1 - 2017-09-04
=================== ===================
- Only mention locking when waiting for a lock. - Only mention locking when waiting for a lock.
- Fix `IOError` during locking in timeout situtation on windows under python 2. - Fix `IOError` during locking in timeout situation on windows under python 2.
0.18.0 - 2017-09-02 0.18.0 - 2017-09-02
=================== ===================

View file

@ -77,7 +77,7 @@ def run_hook(
color: bool, color: bool,
) -> Tuple[int, bytes]: ) -> Tuple[int, bytes]:
# TODO: Some rare commands need to be run using `conda run` but mostly we # TODO: Some rare commands need to be run using `conda run` but mostly we
# can run them withot which is much quicker and produces a better # can run them without which is much quicker and produces a better
# output. # output.
# cmd = ('conda', 'run', '-p', env_dir) + hook.cmd # cmd = ('conda', 'run', '-p', env_dir) + hook.cmd
with in_env(hook.prefix, hook.language_version): with in_env(hook.prefix, hook.language_version):

View file

@ -160,7 +160,7 @@ def test_xargs_concurrency():
assert ret == 0 assert ret == 0
pids = stdout.splitlines() pids = stdout.splitlines()
assert len(pids) == 5 assert len(pids) == 5
# It would take 0.5*5=2.5 seconds ot run all of these in serial, so if it # It would take 0.5*5=2.5 seconds to run all of these in serial, so if it
# takes less, they must have run concurrently. # takes less, they must have run concurrently.
assert elapsed < 2.5 assert elapsed < 2.5