Nikita Sobolev and AlexWaygood
6c54c74a84
Bump mypy to 1.3.0 ( #10173 )
...
Co-authored-by: AlexWaygood <alex.waygood@gmail.com >
2023-05-11 19:03:39 +01:00
Nikita Sobolev
adddc4f24a
Bump docutils to 0.20.* ( #10167 )
2023-05-10 12:40:27 +03:00
Nikita Sobolev
caceaca974
[redis] Add new methods to RedisClusterCommands ( #10162 )
2023-05-09 14:43:35 +01:00
Nikita Sobolev
0f96850532
Update redis to 4.5.5 ( #10161 )
2023-05-09 14:18:50 +01:00
Nikita Sobolev
a2457367d0
Remove emoji stubs ( #10160 )
...
Remove `emoji` stubs, refs #8760
2023-05-09 09:28:11 +01:00
Nikita Sobolev
f42f665fa1
Update hdbcli to 2.16 and mark as completed ( #10101 )
2023-04-29 06:26:16 -07:00
Nikita Sobolev
1d9f35369d
functools: Add cache_parameters method to _lru_cache_wrapper ( #10076 )
...
The docs says that `cache_parameters()` function was added in 3.9: https://docs.python.org/3/library/functools.html#functools.lru_cache
Source: https://github.com/python/cpython/blob/af530469954e8ad49f1e071ef31c844b9bfda414/Lib/functools.py#L512
But, `typeshed` does not have it.
2023-04-24 07:29:54 -07:00
Nikita Sobolev
2bfb6d8212
Fix CI, use new termcolor version ( #10079 )
2023-04-24 07:17:23 -07:00
Nikita Sobolev
22ced49645
Simplify chardet type imports ( #10080 )
2023-04-24 05:14:17 -07:00
Nikita Sobolev
8af0a1f9e8
Fix typo ( #10078 )
2023-04-24 04:43:18 -07:00
Nikita Sobolev
cd3f52ac14
Simplify logging.config type imports ( #10077 )
2023-04-24 14:41:10 +03:00
Nikita Sobolev
7dcec5b3db
Bump simplejson to 3.19.* ( #10049 )
2023-04-15 01:22:41 -07:00
Nikita Sobolev and Alex Waygood
02b8f77630
Update croniter to 1.3.10 ( #10027 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-04-09 16:03:33 +01:00
Nikita Sobolev
3102875bce
bs4: update for 4.12.2 ( #10026 )
...
Release: https://pypi.org/project/beautifulsoup4/4.12.2/
2023-04-09 15:49:29 +01:00
Nikita Sobolev
30fd9b4ffa
dataclasses.make_dataclass has a new parameter in 3.12 (#10006 )
...
Source https://github.com/python/cpython/blob/810d365b5eb2cf3043957ca2971f6e7a7cd87d0d/Lib/dataclasses.py#L1403
2023-04-04 04:50:19 +03:00
Nikita Sobolev
6a37fb050a
Mark types-D3DShot as no longer updated ( #8929 )
...
`D3DShot` is an archived repo
Link: https://github.com/SerpentAI/D3DShot
2023-04-01 10:41:14 +01:00
Nikita Sobolev
6f9f13d781
Remove stubs for termcolor ( #9986 )
2023-04-01 10:39:45 +01:00
Nikita Sobolev
4b04bf49bb
Remove stubs for prettytable ( #9988 )
2023-04-01 10:39:17 +01:00
Nikita Sobolev
972958a406
functools.cached_property.__get__ returns Self (#9992 )
...
Source code: https://github.com/python/cpython/blob/21e9de3bf0ecf32cd61296009518bfb9fdfcd04f/Lib/functools.py#L979-L980
2023-03-30 17:37:15 +01:00
Nikita Sobolev
619125b722
Remove useless overloads from sys.getsizeof ( #9987 )
2023-03-30 13:23:56 +01:00
Nikita Sobolev
2dd5e0462c
Remove xxhash ( #9985 )
2023-03-30 13:57:07 +02:00
Nikita Sobolev
bacb8f7f40
uuid.uuid{3,5} accept bytes in 3.12 (#9936 )
2023-03-24 13:03:41 +01:00
Nikita Sobolev and pre-commit-ci[bot]
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
Nikita Sobolev
1387a9efa9
Mark threading.(R)Lock as final ( #9753 )
...
These are actually factory functions: https://github.com/python/cpython/blob/128379b8cdb88a6d3d7fed24df082c9a654b3fb8/Lib/threading.py#L108
The pure-Python version of `RLock` is, strictly-speaking, subclassable. But you're not *meant* to subclass `RLock`, even if you *can* with the pure-Python version: https://discuss.python.org/t/make-threading-lock-rlock-factory-functions-subclassable/24008/2
2023-02-19 12:21:55 +00:00
62c54da134
Complete python-crontab ( #9306 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2023-02-07 05:21:06 -08:00
Nikita Sobolev
f7cb7f33b2
Use OSError instead of IOError ( #9683 )
2023-02-06 18:56:32 +00:00
Nikita Sobolev
c96079f0df
urllib.HTTPError.headers is a settable property (#9682 )
2023-02-06 18:56:08 +00:00
Nikita Sobolev
6f6dad117d
compile can only work with ast.Module | ast.Expression | ast.Interactive (#9424 )
2022-12-29 11:25:07 +01:00
Nikita Sobolev
0e4c59a076
ast.get_docstring does not work with arbitrary AST nodes (#9407 )
2022-12-24 18:43:44 +00:00
Nikita Sobolev and Alex Waygood
fce46d22ff
Mark dateparser as complete ( #9312 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-12-02 18:50:21 +00:00
Nikita Sobolev
bc1da6a748
Remove unused code from pytype_test.py ( #9317 )
2022-12-02 18:33:24 +00:00
Nikita Sobolev and Alex Waygood
3c9d1bd942
Mark httplib2 as complete ( #9311 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-12-01 15:21:01 +00:00
Nikita Sobolev
91c72cffd1
Remove dockerfile-parse from pyright's exclude ( #9310 )
...
Remove unnecessary dependency on types-six
2022-12-01 13:05:57 +00:00
Nikita Sobolev
8ac9f1eb56
Mark humanfriendly as complete ( #9309 )
2022-12-01 12:55:39 +00:00
Nikita Sobolev
df0a062b34
Mark passlib as completed ( #9302 )
2022-11-29 12:07:17 +00:00
Nikita Sobolev
579a3aa70a
Mark PyAutoGUI as complete ( #9300 )
2022-11-29 09:17:13 +00:00
Nikita Sobolev
ea2ccc3c21
Improve annotations for __instancecheck__, __subclasscheck__ ( #9291 )
2022-11-28 11:15:02 +00:00
Nikita Sobolev
c6800d1214
sqlalchemy: add return types for known magic methods ( #9290 )
2022-11-27 23:55:36 -08:00
Nikita Sobolev
a29624ee42
[redis] update to 4.3.5 ( #9284 )
2022-11-27 22:23:51 -08:00
Nikita Sobolev
7806607df9
Improve error message of Unrecognised platforms specified ( #9283 )
2022-11-26 14:46:43 +01:00
Nikita Sobolev
bdf036d516
check_consistent.py: Add check ensuring packages are not installed for unspecified platforms ( #9265 )
2022-11-25 10:11:59 +00:00
Nikita Sobolev
6cd33f951d
Exclude stubs/cryptoghraphy from CI to fix pyright ( #9258 )
...
Fix pyright
2022-11-23 13:18:03 +00:00
Nikita Sobolev and Alex Waygood
bd75ceb0b6
Fix stdlib stubtest failures on main ( #9255 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-11-23 10:07:05 +00:00
Nikita Sobolev
d633bebbf9
Add a note that if sys.version_info is still required in test_cases ( #9254 )
2022-11-23 09:04:52 +00:00
Nikita Sobolev
f8dfb5f725
Mark regex as completed ( #9214 )
2022-11-22 21:03:01 -08:00
Nikita Sobolev
a580eda64e
Mark pynput as completed ( #9235 )
2022-11-22 20:46:29 -08:00
ae58142e6e
Fix typings of ExceptionGroup and BaseExceptionGroup ( #9230 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
Co-authored-by: AlexWaygood <alex.waygood@gmail.com >
2022-11-22 20:46:03 -08:00
Nikita Sobolev
e1aa4d5285
Add types to multiprocessing/reduction.pyi ( #9171 )
2022-11-22 14:02:14 +00:00
Nikita Sobolev
40d4676d6a
__unicode__ always returns str (#9248 )
2022-11-22 11:52:03 +00:00
Nikita Sobolev
18e2ae762b
Mark first argument of __[get|set|del]attr__ as str ( #9245 )
2022-11-22 11:06:50 +00:00
Nikita Sobolev
3026610797
Mark polib as complete ( #9244 )
2022-11-22 10:18:49 +00:00
Nikita Sobolev
a948ef02d5
Finish slumber annotations ( #9237 )
2022-11-21 17:48:46 +01:00
Nikita Sobolev
8a46e34bc3
Mark pyRFC3339 as completed ( #9233 )
2022-11-21 09:16:48 +00:00
Nikita Sobolev
b58d0df349
Mark pytest-lazy-fixture as completed ( #9229 )
2022-11-20 06:37:55 -08:00
Nikita Sobolev
ffc528f373
Mark python-nmap as completed ( #9226 )
2022-11-19 13:47:41 +00:00
Nikita Sobolev
ba2597daa9
Mark python-slugify as completed ( #9222 )
2022-11-18 10:50:20 +00:00
Nikita Sobolev
a21aa2fe26
Mark six as completed ( #9221 )
2022-11-18 10:32:30 +00:00
Nikita Sobolev
c6261372d7
Always use bool and Literal for Python compat code ( #9213 )
2022-11-16 18:00:59 +00:00
Nikita Sobolev
9137258cf4
Add exact **kwargs types to dateutil.parser.parse ( #9212 )
...
Closes #9122
2022-11-16 07:25:19 -08:00
Nikita Sobolev
64bb9ef8b3
Complete singledispatch stub ( #9201 )
2022-11-15 17:09:45 +01:00
Nikita Sobolev
66edd05cf3
Cancel old daily CI jobs on PRs ( #9196 )
2022-11-14 15:47:53 +00:00
Nikita Sobolev
e8111ea017
DecimalTuple can have string exponent (#9194 )
2022-11-14 11:09:16 +01:00
Nikita Sobolev
0bd4e3ce1a
ip_interface can have tuple arguments (#9195 )
2022-11-14 11:02:56 +01:00
Nikita Sobolev
005801d34d
Mark ttkthemes as complete ( #9186 )
2022-11-13 11:12:48 +00:00
Nikita Sobolev
d3b63b88d3
Mark toml as complete ( #9185 )
2022-11-13 11:11:47 +00:00
Nikita Sobolev and Jelle Zijlstra
bc6d91a58e
Bump paramiko to 2.12.* ( #9163 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2022-11-11 15:30:11 -08:00
70c4af4b73
Refactor round and add tests ( #9151 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-11-11 18:19:51 +00:00
Nikita Sobolev and Alex Waygood
9f80dbd3db
Do not run stubtest_third_party on requirements change ( #9160 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-11-11 18:16:00 +00:00
Nikita Sobolev
dbac458bd5
Fix CI failure when no third-party stubs were updated ( #9159 )
2022-11-11 07:09:35 -08:00
9cd9f6f6e0
Add the ability to run third-party stubtest on Windows or MacOS when needed ( #8923 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2022-11-11 13:40:50 +00:00
Nikita Sobolev
0f33721c52
Remove sqlite3/dbapi2.pyi from pyright excludelist ( #9148 )
2022-11-11 12:00:19 +00:00
Nikita Sobolev
0baadae0c9
urllib.parse: improve bytes handling ( #9103 )
2022-11-10 20:47:57 -08:00
Nikita Sobolev and Alex Waygood
f8dd877e48
Improve math.{ceil,floor,trunc} ( #9141 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-11-10 14:45:07 +00:00
Nikita Sobolev
805519717b
regr_test.py: fix typo in --help (#9147 )
...
It used to be:
```
-p [{3.11,3.10,3.9,3.8,3.7} ...], --python-version [{3.11,3.10,3.9,3.8,3.7} ...]
Run mypy for certain Python versions (defaults to
sys.version_info[:2])Note that this cannot be specified if
--all is also specified.
```
2022-11-10 13:32:22 +00:00
Nikita Sobolev
a74acc8225
urllib.response: improve bytes handling ( #9142 )
2022-11-09 18:21:13 -08:00
Nikita Sobolev
7b3fff714a
Do not run create-issue-on-failure on PRs ( #9140 )
2022-11-09 15:02:50 +00:00
Nikita Sobolev
04ae11cdd0
All __nonzero__ are methods that return bool ( #9139 )
2022-11-09 14:53:42 +00:00
Nikita Sobolev
cb5ed3c5fb
Run stubtest on all third party stubs if requirements.txt is changed ( #9132 )
2022-11-09 14:30:56 +00:00
Nikita Sobolev
62a6c3d616
Annotate known magic-method return types ( #9131 )
2022-11-08 18:28:42 +00:00
Nikita Sobolev
c0e9038f0d
Fix and allow classes with missing metaclasses ( #9136 )
2022-11-08 18:13:59 +00:00
Nikita Sobolev
94dc53ee90
Mark typed_ast as completed ( #9121 )
2022-11-07 18:34:23 +00:00
Nikita Sobolev
11be6effd3
Mark vobject as complete ( #9120 )
2022-11-07 14:24:18 +00:00
Nikita Sobolev
5751b467e0
Remove ssl_match_hostname from pyright exclude ( #9116 )
2022-11-06 14:02:24 -08:00
Nikita Sobolev
4bff3e240b
Remove annoy from pyright excludelist ( #9114 )
2022-11-06 19:45:25 +00:00
Nikita Sobolev
449d8254d6
Remove aiofiles/aiofiles/threadpool/utils.pyi from pyright exclude ( #9113 )
2022-11-06 19:19:10 +00:00
Nikita Sobolev
10f05d3fb6
Remove aiofiles/tempfile/temptypes.pyi from pyright exclude ( #9104 )
2022-11-05 07:10:50 -07:00
Nikita Sobolev
9f0d0b9af7
zipimport: improve bytes handling ( #9087 )
2022-11-04 17:58:59 -07:00
Nikita Sobolev
3ac147cf67
Mark zxcvbn as completed ( #9088 )
2022-11-04 09:16:59 +00:00
Nikita Sobolev
1d37b54441
Remove Send2Trash from pyright's exclude ( #8944 )
2022-11-03 13:41:37 -07:00
Nikita Sobolev
e68567a1b4
tarfile: improve bytes handling ( #9076 )
2022-11-03 10:15:46 -07:00
Nikita Sobolev and Alex Waygood
86f9d93003
Update pyright to 1.1.278 ( #9077 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-11-03 15:32:10 +00:00
Nikita Sobolev
27caa8f221
Mark hdbcli as complete ( #8904 )
2022-11-03 07:38:51 -07:00
Nikita Sobolev
d317458af6
Bump jsonschema to 4.17.* ( #9066 )
2022-11-02 17:41:14 +00:00
Nikita Sobolev
f972bdfd96
io, codecs: improve bytes handling ( #9059 )
2022-11-02 09:32:06 -07:00
Nikita Sobolev
ab9988a5ed
[stubsabot junior] Bump babel to 2.11.* ( #9064 )
2022-11-02 01:15:36 -07:00
Nikita Sobolev
a7cf6144de
Complete passpy stubs ( #8959 )
2022-11-01 12:37:21 +01:00
Nikita Sobolev
b91ebd3096
Remove pytz from pyrights exclude ( #9041 )
2022-10-31 21:08:41 -07:00
Nikita Sobolev
34e147fcd9
plistlib: improve bytes handling ( #9048 )
2022-10-31 21:01:23 -07:00
Nikita Sobolev and Jelle Zijlstra
8036bbdce1
marshal: improve bytes handling ( #9047 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2022-10-31 13:24:18 -07:00
Nikita Sobolev
ae75d68fe9
hmac: improve bytes handling ( #9046 )
2022-10-31 07:11:50 -07:00