Francesc Elies
d13bcbb76e
[minidom] add missing return types ( #9917 )
2023-03-22 12:21:05 +01:00
github-actions[bot]
ffa4999e31
[stubsabot] Bump httplib2 to 0.22.* ( #9916 )
...
Release: https://pypi.org/pypi/httplib2/0.22.0
Homepage: https://github.com/httplib2/httplib2
Diff: https://github.com/httplib2/httplib2/compare/v0.21.0...v0.22.0
Stubsabot analysis of the diff between the two releases:
- Total lines of Python code added: 21.
- Total lines of Python code deleted: 5.
2023-03-22 00:14:37 +00:00
Sebastian Rittau
104cdf9d0d
[redis] Update stubs to 4.5.2 ( #9912 )
2023-03-21 20:26:41 +00:00
Nikita Sobolev
130ba2ea60
Support SupportsIndex in constructors for all datetime objects ( #9915 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-03-21 19:56:31 +03:00
Amin Alaee
b6564d976b
logging.LogRecord: improve annotation for msg (#9914 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-03-21 15:40:37 +00:00
Alex Waygood
dd2818a41d
Stdlib: add container default values ( #9909 )
2023-03-21 09:12:34 +01:00
github-actions[bot]
151159709d
[stubsabot] Bump beautifulsoup4 to 4.12.* ( #9910 )
...
Release: https://pypi.org/pypi/beautifulsoup4/4.12.0
Homepage: https://www.crummy.com/software/BeautifulSoup/bs4/
2023-03-21 00:26:02 +00:00
Alex Waygood
f3fc792620
Bump flake8-pyi test dependency to 23.3.1 ( #9906 )
2023-03-20 19:19:01 +01:00
github-actions[bot]
8080e491d2
[stubsabot] Bump tzlocal to 4.3 ( #9903 )
...
Release: https://pypi.org/pypi/tzlocal/4.3
Diff: https://github.com/regebro/tzlocal/compare/4.2...4.3
Stubsabot analysis of the diff between the two releases:
- 0 public Python files have been added.
- 0 files included in typeshed's stubs have been deleted.
- 2 files included in typeshed's stubs have been modified or renamed: `tzlocal/utils.py`, `tzlocal/windows_tz.py`.
- Total lines of Python code added: 67.
- Total lines of Python code deleted: 41.
2023-03-19 07:44:32 +00:00
Alex Waygood
ca55889329
distutils/setuptools: Don't use wildcards for allowlist entries ( #9900 )
2023-03-17 14:05:12 -07:00
Henry Schreiner
2d990ee2f7
Fill out more annotations for distutils & setuptools dist ( #9895 )
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2023-03-17 18:48:24 +00:00
Henry Schreiner
629f12e9a1
[setuptools] Fully annotate Extension.__init__ ( #9899 )
...
Add defaults to distutils.Extension.__init__
2023-03-17 16:44:51 +01:00
James Hilton-Balfe
a7c7667f7e
Add better types for predicate parameter to inspect.getx functions ( #9891 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-03-17 14:41:18 +00:00
Clément Pinard
557554f1d6
[pycocotools] Fix COCOeval.eval and Params.areaRng ( #9897 )
...
* Rename `_EvaluationResult` to `_ImageEvaluationResult`
* Add new `_EvaluationResult`
* Fix type of `COCOeval.eval`
* Correct Params.areaRng which is in fact a list of pairs
2023-03-17 14:02:19 +01:00
Henry Schreiner
3a82796d1e
[distutils] Add generated methods to Distribution ( #9896 )
2023-03-17 12:14:36 +01:00
Henry Schreiner
bcff9cd51f
distutils.command.build_ext: add more annotations to get_ext_* methods (#9894 )
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-03-16 20:29:11 +00:00
Henry Schreiner
ed1fd8fc35
Add missing distribution attribute to distutils.cmd.Command ( #9893 )
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-03-16 20:21:23 +00:00
Henry Schreiner
eb3f8f3307
Add remaining types to setuptools.build_meta ( #9890 )
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-03-16 17:01:39 +00:00
Sebastian Rittau
a544b75320
[SQLAlchemy] Annotate row classes ( #9568 )
...
Co-authored-by: Avasam <samuel.06@hotmail.com >
2023-03-15 00:57:54 -07:00
Mehdi Drissi
1d15121f1d
Tensorflow protobuf stubs ( #9873 )
...
Co-authored-by: Mehdi Drissi <mdrissi@snapchat.com >
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2023-03-15 00:51:16 -07:00
Sebastian Rittau
8877c12cdf
[openpyxl] Update to 3.1, add more annotations ( #9875 )
...
Closes : #9644
2023-03-15 00:50:16 -07:00
Alex Waygood
21d7f7153b
[alt] typing: accept buffers in IO.write ( #9861 )
...
Co-authored-by: JelleZijlstra <jelle.zijlstra@gmail.com >
2023-03-15 00:42:10 -07:00
Alex Waygood
b7d1079e86
Bump various test dependencies ( #9886 )
2023-03-14 14:13:24 -07:00
Alex Waygood
c9fa41683a
Remove stubs for appdirs and backports.ssl-match-hostname ( #9884 )
2023-03-14 09:17:55 -07:00
Alex Waygood
7e0b9b44de
Fix typos in extra_description fields ( #9883 )
2023-03-14 08:15:15 -07:00
Alex Waygood
388da6a60b
Mark stubs for backports.ssl_match_hostname as no longer updated ( #9882 )
...
See #9843 for discussion
2023-03-14 07:24:35 -07:00
Alex Waygood
28dd6c1a2e
Use ParamSpec for classmethod and staticmethod ( #9771 )
2023-03-14 09:59:17 +00:00
Alex Waygood
51870544db
Bump pytype dependency to 2023.3.13 ( #9881 )
2023-03-14 09:40:54 +00:00
github-actions[bot]
6d2d91c8f9
[stubsabot] Bump pyinstaller to 5.9.* ( #9880 )
...
Release: https://pypi.org/pypi/pyinstaller/5.9.0
Homepage: https://www.pyinstaller.org/
Diff: https://github.com/pyinstaller/pyinstaller/compare/v5.8.0...v5.9.0
Stubsabot analysis of the diff between the two releases:
- 0 public Python files have been added.
- 0 files included in typeshed's stubs have been deleted.
- 3 files included in typeshed's stubs have been modified or renamed: `PyInstaller/__init__.py`, `PyInstaller/building/build_main.py`, `PyInstaller/isolated/_parent.py`.
- Total lines of Python code added: 28.
- Total lines of Python code deleted: 59.
2023-03-14 00:18:35 +00:00
Alex Waygood
ad9c7c1d0c
Mark types-appdirs as no longer updated ( #9877 )
2023-03-13 16:36:44 +01:00
Alex Waygood
36515c48a9
flake8: ignore pyflakes codes in *_pb2.pyi files that are ignored in all other .pyi files ( #9878 )
...
Several flake8 error codes are currently ignored for all `.pyi` files _except_ those ending with `_pb2.pyi`. This caused a bit of confusion in #9873 . This PR makes it so that all codes ignored generally across typeshed are also ignored in `*_pb2.pyi` files
2023-03-13 15:22:16 +00:00
Jakob Stadler
843b49e96a
appdirs: improve annotation for appauthor argument ( #9876 )
...
Fix: Missing annotation for appauthor argument
According to the appdirs doc string and code [1], the appauthor argument in all functions supports False as argument value to skip insertion of author directories.
[1] https://github.com/ActiveState/appdirs/blob/master/appdirs.py#L52
2023-03-13 14:43:41 +00:00
github-actions[bot]
978d885d0b
[stubsabot] Bump flake8-bugbear to 23.3.12 ( #9872 )
...
Release: https://pypi.org/pypi/flake8-bugbear/23.3.12
Homepage: https://github.com/PyCQA/flake8-bugbear
Changelog: https://github.com/PyCQA/flake8-bugbear#change-log
Diff: https://github.com/PyCQA/flake8-bugbear/compare/23.2.13...23.3.12
Co-authored-by: stubsabot <>
2023-03-12 19:09:06 -07:00
Anton Grübel
53e1b534c7
add signal.SIGSTKFLT on py311+ ( #9870 )
2023-03-12 14:18:23 +00:00
Alex Waygood
62a833c50f
typed_ast: Add missing field to typed_ast.ast3.TypeIgnore ( #9868 )
...
```pycon
>>> import typed_ast.ast3 as ast3
>>> x = ast3.parse('def foo(): ... # type: ignore[attr-defined]')
>>> ast3.dump(x)
"Module(body=[FunctionDef(name='foo', args=arguments(args=[], vararg=None, kwonlyargs=[], kw_defaults=[], kwarg=None, defaults=[]), body=[Expr(value=Ellipsis())], decorator_list=[], returns=None, type_comment=None)], type_ignores=[TypeIgnore(lineno=1, tag='[attr-defined]')])"
```
2023-03-11 11:15:12 -08:00
Károly Szabó
8705cade74
Add missing properties for redis.lock.Lock ( #9867 )
2023-03-11 13:51:33 +00:00
Malthe Jørgensen
9d6ae8a222
[oauthlib] Add types in oauth1/rfc5849/request_validator.pyi ( #9844 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-03-11 13:48:07 +00:00
Shantanu
aac3863752
stubsabot: fix legacy version parsing ( #9866 )
...
New `packaging` is strict and doesn't like paramiko's pokemon versioning
scheme from 2004
Fixes #9865
2023-03-10 23:30:53 -08:00
Mehdi Drissi
390058eb39
Update aiofiles for v23.1.* ( #9711 )
...
Co-authored-by: Mehdi Drissi <mdrissi@snapchat.com >
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-03-09 17:25:03 +00:00
Mehdi Drissi
a47dd76af8
Tensorflow keras layer ( #9707 )
...
Co-authored-by: Mehdi Drissi <mdrissi@snapchat.com >
2023-03-09 06:36:53 -08:00
Benjamin Parzella
2fe634f01c
[pywin32] win32gui.FindWindowEx parameters __ClassName and __WindowName are optional ( #9859 )
2023-03-09 13:56:20 +01:00
Avasam
a5fc97e6da
Fix misnamed parameter in stubtest_third_party ( #9716 )
2023-03-09 07:33:45 +00:00
Oleh Mazur
8ff3278ef7
parsimonious: Update return types of NodeVisitor's methods (#9564 )
2023-03-08 22:05:34 -08:00
Ali Hamdan
f8add366d5
pyserial: Fix read and write methods ( #9825 )
2023-03-08 21:11:26 -08:00
github-actions[bot]
4b9c1b9ed3
[stubsabot] Bump setuptools to 67.6.* ( #9858 )
...
Release: https://pypi.org/pypi/setuptools/67.6.0
Homepage: https://github.com/pypa/setuptools
Changelog: https://setuptools.pypa.io/en/stable/history.html
Diff: https://github.com/pypa/setuptools/compare/v67.5.1...v67.6.0
Stubsabot analysis of the diff between the two releases:
- 0 public Python files have been added.
- 0 files included in typeshed's stubs have been deleted.
- 1 file included in typeshed's stubs has been modified or renamed: `setuptools/wheel.py`.
- Total lines of Python code added: 38.
- Total lines of Python code deleted: 19.
2023-03-09 00:19:39 +00:00
Károly Szabó
604d39c583
Replace object | None with object ( #9857 )
...
All types, including `None`, are a subtype of `object`, so `None` is redundant in the union `object | None`.
2023-03-08 19:59:47 +00:00
Károly Szabó
133b9a04cf
[pydoc] safeimport can return None ( #9856 )
2023-03-08 19:48:16 +00:00
Oleg Höfling
c661ac3ad6
importlib.abc: align input data types in InspectLoader.source_to_code builtin.compile inputs (#9852 )
...
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com >
2023-03-08 13:43:05 +00:00
Nathan Walters
28b90d9bfd
Pygments: fix get_style_by_name return type ( #9803 )
2023-03-08 11:45:47 +02:00
Akuli
a1979dffc2
Update mypy ( #9855 )
2023-03-08 11:34:54 +02:00