summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add codespell to dev-reqs, circleci2178-intJeff Forcier2023-01-272-0/+14
|
* Comment codespellrc again, add Messr Flage back to ignored words listJeff Forcier2023-01-271-2/+6
| | | | Really wish codespell had inline ignores like flake/black
* Just change a faux-misspelt surname in an example text snippetJeff Forcier2023-01-271-3/+3
|
* Twiddle File test to lack faux-misspellings in its cut-up stringsJeff Forcier2023-01-271-2/+3
|
* Twiddle ProxyCommand read test to not have faux misspellings, and to be way ↵Jeff Forcier2023-01-271-4/+10
| | | | more understandable
* Changelog re #2178Jeff Forcier2023-01-271-0/+4
|
* Tweak silly test constant to be a real wordJeff Forcier2023-01-271-1/+1
|
* Tidy up codespellrc, revert s/keypair/key pair/Jeff Forcier2023-01-272-6/+2
|
* Revert "RF test to use "12345" and "to" instead of misspelling components"Jeff Forcier2023-01-271-2/+2
| | | | This reverts commit 5efa354ce9fff1217d22e52493d1442866821a7b.
* From the code review - fix wording in .codespellrc commentYaroslav Halchenko2023-01-251-1/+1
| | | Co-authored-by: Brian Skinn <brian.skinn@gmail.com>
* [DATALAD RUNCMD] Run codespell -wYaroslav Halchenko2023-01-2411-19/+19
| | | | | | | | | | | | | | === Do not change lines below === { "chain": [], "cmd": "codespell -w", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
* RF test to use "12345" and "to" instead of misspelling componentsYaroslav Halchenko2023-01-241-2/+2
| | | | to not upset codespell
* Basic codespell config file to skip common culpritsYaroslav Halchenko2023-01-241-0/+7
|
* Harmonize into *args from *larg, *largsYaroslav Halchenko2023-01-245-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* Massage SSHClient.connect exception-raising docstringJeff Forcier2023-01-201-8/+13
| | | | | | | | | - 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.
* newer Releases doesn't work well under latex yet :(Jeff Forcier2023-01-201-2/+0
|
* Cut 3.0.03.0.0Jeff Forcier2023-01-201-0/+1
|
* 3.0-related changelog cleanupJeff Forcier2023-01-201-5/+14
|
* Docstring and changelog tweaks, thanks @bskinn!Jeff Forcier2023-01-203-3/+5
|
* blackenJeff Forcier2023-01-181-1/+1
|
* Add 3-only classifier, thanks @hugovk!Jeff Forcier2023-01-181-0/+1
|
* Update Python version mention in READMEJeff Forcier2023-01-181-1/+1
|
* Streamline copyright stringJeff Forcier2023-01-181-2/+1
|
* Intersphinx to py36 not py27Jeff Forcier2023-01-181-1/+1
|
* Handpick remaining-ly relevant changes from #2110Jeff Forcier2023-01-182-2/+7
| | | | | | Also make 'em f-strings, which AFAIK should be comparable Closes #2110
* Changelog re #2165Jeff Forcier2023-01-161-0/+3
|
* Merge branch '2165-int' into 3.0Jeff Forcier2023-01-162-3/+5
|\
| * Improve performance by reducing expensive bytes conversionAlex Gaynor2023-01-102-3/+5
| | | | | | | | | | | | In two core parts of the codebase, complex type-switch based code is used to convert a value to bytes. However, in all cases (except for one, fixed in this PR), the caller is specifying a Message instance. We can make this code much simpler by directly calling the correct method on Message. In #2110 this is measured to massively speed up large SFTP transfers.
* | Stop ignoring warnings in the test suite for nowJeff Forcier2023-01-161-4/+0
| | | | | | | | | | | | | | | | 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).
* | Break up a big int literalJeff Forcier2023-01-161-2/+2
| | | | | | | | | | | | 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.
* | Nuke retry_on_signal, pointless on modern Py3Jeff Forcier2023-01-167-62/+16
| | | | | | | | | | Additionally, other bits of code that retry EINTR can similarly just go away.
* | Stop stripping ProxyCommand none, make it NoneJeff Forcier2023-01-163-16/+23
| | | | | | | | | | Also apparently the old, old test for this had the wrong issue number in it :(
* | flake8Jeff Forcier2023-01-161-1/+0
| |
* | Nuke unused private methodJeff Forcier2023-01-161-4/+0
| |
* | Punt a bunch of backwards incompatible TODOs to 4.0Jeff Forcier2023-01-165-8/+8
| |
* | Nuke now extraneous chmodJeff Forcier2023-01-163-5/+9
| |
* | Switch an os.open call to use kwargs now that we're py3 onlyJeff Forcier2023-01-161-8/+14
| | | | | | | | Also shuffle comments around to be more local to subjects.
* | blackenJeff Forcier2023-01-164-19/+9
| |
* | well that's just super()!Jeff Forcier2023-01-169-12/+12
| |
* | No more (object)ionsJeff Forcier2023-01-1634-61/+61
| |
* | s/%/fstrings/gJeff Forcier2023-01-168-72/+71
| | | | | | | | Except in one spot where it was too complicated to bother for now XD
* | Twiddle a test to not shadow hex builtin (and nuke %)Jeff Forcier2023-01-161-3/+3
| |
* | Invoke 2 is now outJeff Forcier2023-01-161-2/+1
| |
* | flake8/blackJeff Forcier2023-01-132-2/+3
| |
* | No more PKey.__cmp__Jeff Forcier2023-01-122-18/+5
| |
* | Can't actually use a set here as it will destroy orderingJeff Forcier2023-01-121-1/+0
| |
* | Swap around __bytes__/__str__ for some classesJeff Forcier2023-01-124-5/+17
| | | | | | | | Plus related updates to tests, docstrings, changelog
* | Start fixing up blatantly wrong-under-py3 docstring typesJeff Forcier2023-01-126-41/+51
| |
* | Upcoming alabaster release with modern sphinx stylesheet fixJeff Forcier2023-01-121-1/+1
| |
* | Modern sphinx autodoc settingsJeff Forcier2023-01-121-1/+4
| |