From 010d1843c0cecb3a68bc9ed2a27bab22aaf45342 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Fri, 23 Nov 2018 07:38:21 +0000 Subject: [PATCH] Correct spelling mistakes --- src/wormhole/_rlcompleter.py | 4 ++-- src/wormhole/cli/cli.py | 2 +- src/wormhole/test/common.py | 2 +- src/wormhole/transit.py | 2 +- versioneer.py | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/wormhole/_rlcompleter.py b/src/wormhole/_rlcompleter.py index e9262db..87a670f 100644 --- a/src/wormhole/_rlcompleter.py +++ b/src/wormhole/_rlcompleter.py @@ -88,7 +88,7 @@ class CodeInputter(object): if self._committed_nameplate: if not got_nameplate or nameplate != self._committed_nameplate: - # they deleted past the committment point: we can't use + # they deleted past the commitment point: we can't use # this. For now, bail, but in the future let's find a # gentler way to encourage them to not do that. raise AlreadyInputNameplateError( @@ -140,7 +140,7 @@ class CodeInputter(object): if self._committed_nameplate: if nameplate != self._committed_nameplate: - # they deleted past the committment point: we can't use + # they deleted past the commitment point: we can't use # this. For now, bail, but in the future let's find a # gentler way to encourage them to not do that. raise AlreadyInputNameplateError( diff --git a/src/wormhole/cli/cli.py b/src/wormhole/cli/cli.py index 292d662..6051a12 100644 --- a/src/wormhole/cli/cli.py +++ b/src/wormhole/cli/cli.py @@ -178,7 +178,7 @@ CommonArgs = _compose( "--hide-progress", is_flag=True, default=False, - help="supress progress-bar display", + help="suppress progress-bar display", ), click.option( "--listen/--no-listen", diff --git a/src/wormhole/test/common.py b/src/wormhole/test/common.py index 3521299..ecb85eb 100644 --- a/src/wormhole/test/common.py +++ b/src/wormhole/test/common.py @@ -1,4 +1,4 @@ -# no unicode_literals untill twisted update +# no unicode_literals until twisted update from click.testing import CliRunner from twisted.application import internet, service from twisted.internet import defer, endpoints, reactor, task diff --git a/src/wormhole/transit.py b/src/wormhole/transit.py index d2b2c98..96d8f95 100644 --- a/src/wormhole/transit.py +++ b/src/wormhole/transit.py @@ -357,7 +357,7 @@ class Connection(protocol.Protocol, policies.TimeoutMixin): self.setTimeout(None) d, self._negotiation_d = self._negotiation_d, None # the Deferred is only relevant until negotiation finishes, so skip - # this if it's alredy been fired + # this if it's already been fired if d: # Each call to loseConnection() sets self._error first, so we can # deliver useful information to the Factory that's waiting on diff --git a/versioneer.py b/versioneer.py index 64fea1c..ebe628e 100644 --- a/versioneer.py +++ b/versioneer.py @@ -180,7 +180,7 @@ two common reasons why `setup.py` might not be in the root: `setup.cfg`, and `tox.ini`. Projects like these produce multiple PyPI distributions (and upload multiple independently-installable tarballs). * Source trees whose main purpose is to contain a C library, but which also - provide bindings to Python (and perhaps other langauges) in subdirectories. + provide bindings to Python (and perhaps other languages) in subdirectories. Versioneer will look for `.git` in parent directories, and most operations should get the right version string. However `pip` and `setuptools` have bugs