summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2023-02-16Update tests for #2173Alex Chavkin
2023-02-16hostkeys: update docstring for autdodoc per #2173Alex Chavkin
2023-02-16Changelog for PR #2173Alex Chavkin
2023-02-16Double quotes to pass style checkAlex Chavkin
2023-02-16Split known_hosts fields on either a single space or tabAlex Chavkin
2023-02-16Split known host file entries on any whitespaceAlex Chavkin
(Not just a single space) OpenSSH is more permissive in documentation and code
2023-01-27Add codespell to dev-reqs, circleciJeff Forcier
2023-01-27Comment codespellrc again, add Messr Flage back to ignored words listJeff Forcier
Really wish codespell had inline ignores like flake/black
2023-01-27Just change a faux-misspelt surname in an example text snippetJeff Forcier
2023-01-27Twiddle File test to lack faux-misspellings in its cut-up stringsJeff Forcier
2023-01-27Twiddle ProxyCommand read test to not have faux misspellings, and to be way ↵Jeff Forcier
more understandable
2023-01-27Changelog re #2178Jeff Forcier
2023-01-27Tweak silly test constant to be a real wordJeff Forcier
2023-01-27Tidy up codespellrc, revert s/keypair/key pair/Jeff Forcier
2023-01-27Revert "RF test to use "12345" and "to" instead of misspelling components"Jeff Forcier
This reverts commit 5efa354ce9fff1217d22e52493d1442866821a7b.
2023-01-25From the code review - fix wording in .codespellrc commentYaroslav Halchenko
Co-authored-by: Brian Skinn <brian.skinn@gmail.com>
2023-01-24[DATALAD RUNCMD] Run codespell -wYaroslav Halchenko
=== Do not change lines below === { "chain": [], "cmd": "codespell -w", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
2023-01-24RF test to use "12345" and "to" instead of misspelling componentsYaroslav Halchenko
to not upset codespell
2023-01-24Basic codespell config file to skip common culpritsYaroslav Halchenko
2023-01-24Harmonize into *args from *larg, *largsYaroslav Halchenko
Initially spotted since 'larg' was picked up by codespell as something possibly to fix to become 'large'. But realized that it is just an inconsistency. Had various uses: ❯ git grep '\*arg\>' | nl 1 paramiko/sftp_client.py: def _request(self, t, *arg): 2 paramiko/sftp_client.py: num = self._async_request(type(None), t, *arg) 3 paramiko/sftp_client.py: def _async_request(self, fileobj, t, *arg): 4 paramiko/sftp_server.py: def _response(self, request_number, t, *arg): ❯ git grep '\*largs\>' | nl 1 paramiko/sftp_server.py: *largs, 2 paramiko/sftp_server.py: self.server = sftp_si(server, *largs, **kwargs) 3 paramiko/sftp_si.py: def __init__(self, server, *largs, **kwargs): 4 paramiko/sftp_si.py: super().__init__(*largs, **kwargs) ❯ git grep '\*larg\>' | nl 1 paramiko/server.py: handler = handler_class(channel, name, self, *larg, **kwarg) 2 paramiko/transport.py: def set_subsystem_handler(self, name, handler, *larg, **kwarg): in addition to more conventional ❯ git grep '\*args\>' | nl 1 paramiko/_winapi.py: super().__init__(*args) 2 paramiko/_winapi.py: def __init__(self, *args, **kwargs): 3 paramiko/_winapi.py: super().__init__(*args, **kwargs) 4 paramiko/auth_handler.py: def _log(self, *args): 5 paramiko/auth_handler.py: return self.transport._log(*args) 6 paramiko/channel.py: def _check(self, *args, **kwds): 7 paramiko/channel.py: return func(self, *args, **kwds) 8 paramiko/channel.py: def _log(self, level, msg, *args): 9 paramiko/channel.py: self.logger.log(level, "[chan " + self._name + "] " + msg, *args) 10 paramiko/sftp.py: def _log(self, level, msg, *args): 11 paramiko/sftp.py: self.logger.log(level, msg, *args) 12 paramiko/sftp_client.py: def _log(self, level, msg, *args): 13 paramiko/sftp_client.py: self._log(level, m, *args) 14 paramiko/transport.py: def _log(self, level, msg, *args): 15 paramiko/transport.py: self.logger.log(level, msg, *args) 16 tests/__init__.py: def _test_under_locale(testself, *args, **kwargs): 17 tests/__init__.py: return test_method(testself, *args, **kwargs) 18 tests/test_client.py: def __init__(self, *args, **kwargs): 19 tests/test_client.py: super().__init__(*args, **kwargs) 20 tests/test_config.py: def inner(command, *args, **kwargs): 21 tests/test_packetizer.py: def wrapper(*args, **kwargs): 22 tests/test_packetizer.py: result = func(*args, **kwargs)
2023-01-20Massage SSHClient.connect exception-raising docstringJeff Forcier
- Sphinx Python domain can link to non-stdlib exception classes inside the `:raises:` fieldlist now! yay!! - Add explicit mention of 'can raise NoValidConnectionsError', which was never added when the latter was created. Was still technically correct (it is a subclass of socket.error) but that is not the best kind of correct, after all.
2023-01-20newer Releases doesn't work well under latex yet :(Jeff Forcier
2023-01-20Cut 3.0.0Jeff Forcier
2023-01-203.0-related changelog cleanupJeff Forcier
2023-01-20Docstring and changelog tweaks, thanks @bskinn!Jeff Forcier
2023-01-18blackenJeff Forcier
2023-01-18Add 3-only classifier, thanks @hugovk!Jeff Forcier
2023-01-18Update Python version mention in READMEJeff Forcier
2023-01-18Streamline copyright stringJeff Forcier
2023-01-18Intersphinx to py36 not py27Jeff Forcier
2023-01-18Handpick remaining-ly relevant changes from #2110Jeff Forcier
Also make 'em f-strings, which AFAIK should be comparable Closes #2110
2023-01-16Changelog re #2165Jeff Forcier
2023-01-16Merge branch '2165-int' into 3.0Jeff Forcier
2023-01-16Stop ignoring warnings in the test suite for nowJeff Forcier
Most of what we put this in for is gone as we now use newer versions of most dependencies. The few that remain are acceptable levels of noise or only on certain versions (eg py36).
2023-01-16Break up a big int literalJeff Forcier
We could do this on a LOT of hex and similar literals, but that's a lot of work for little gain, let's just do that organically over time instead.
2023-01-16Nuke retry_on_signal, pointless on modern Py3Jeff Forcier
Additionally, other bits of code that retry EINTR can similarly just go away.
2023-01-16Stop stripping ProxyCommand none, make it NoneJeff Forcier
Also apparently the old, old test for this had the wrong issue number in it :(
2023-01-16flake8Jeff Forcier
2023-01-16Nuke unused private methodJeff Forcier
2023-01-16Punt a bunch of backwards incompatible TODOs to 4.0Jeff Forcier
2023-01-16Nuke now extraneous chmodJeff Forcier
2023-01-16Switch an os.open call to use kwargs now that we're py3 onlyJeff Forcier
Also shuffle comments around to be more local to subjects.
2023-01-16blackenJeff Forcier
2023-01-16well that's just super()!Jeff Forcier
2023-01-16No more (object)ionsJeff Forcier
2023-01-16s/%/fstrings/gJeff Forcier
Except in one spot where it was too complicated to bother for now XD
2023-01-16Twiddle a test to not shadow hex builtin (and nuke %)Jeff Forcier
2023-01-16Invoke 2 is now outJeff Forcier
2023-01-13flake8/blackJeff Forcier
2023-01-12No more PKey.__cmp__Jeff Forcier