diff options
| author | luz paz <luzpaz@users.noreply.github.com> | 2021-12-10 09:10:29 -0500 |
|---|---|---|
| committer | Federico Caselli <cfederico87@gmail.com> | 2021-12-29 21:35:34 +0100 |
| commit | 56256b6d132c0deae4368a7d0d04912df9a80fc0 (patch) | |
| tree | 5526137468678d9fc5d26f678a5027312c82623a /lib/sqlalchemy/ext/mypy | |
| parent | d736f8bc4583f679167e4961f62f0fe1d318e4c4 (diff) | |
| download | sqlalchemy-56256b6d132c0deae4368a7d0d04912df9a80fc0.tar.gz | |
Fix various source comment/doc typos
### Description
Found via `codespell -q 3 -L ba,crate,datas,froms,gord,hist,inh,nd,selectin,strat,ue`
Also added codespell to the pep8 tox env
### Checklist
This pull request is:
- [x] A documentation / typographical error fix
- Good to go, no issue or tests are needed
Closes: #7338
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/7338
Pull-request-sha: 0deac2219396bc0eba7da53eb3a80932edbf2dd7
Change-Id: Icd61db31c8dc655d4a39d8a304194804d08555fe
Diffstat (limited to 'lib/sqlalchemy/ext/mypy')
| -rw-r--r-- | lib/sqlalchemy/ext/mypy/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/ext/mypy/util.py b/lib/sqlalchemy/ext/mypy/util.py index 4d55cb728..0eefdb20f 100644 --- a/lib/sqlalchemy/ext/mypy/util.py +++ b/lib/sqlalchemy/ext/mypy/util.py @@ -245,7 +245,7 @@ def unbound_to_instance( # TODO: figure out a more robust way to check this. The node is some # kind of _SpecialForm, there's a typing.Optional that's _SpecialForm, - # but I cant figure out how to get them to match up + # but I can't figure out how to get them to match up if typ.name == "Optional": # convert from "Optional?" to the more familiar # UnionType[..., NoneType()] |
