Shantanu
c783dda71b
Allowlist useless modules ( #8340 )
...
These are the ones I chose not to add from #8321
Fixes most of #8339
2022-07-19 19:15:20 -07:00
Shantanu
4b34b345f1
Add missing third party modules ( #8321 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
Co-authored-by: hauntsaninja <>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-07-19 08:11:29 +01:00
Shantanu
9df28aac13
Make xxhash, editdistance into packages ( #8320 )
...
This matches the runtime. Also see #8319
2022-07-17 12:26:18 -07:00
Shantanu
305f10b808
stubtest: per project --ignore-missing-stub ( #8122 )
2022-06-21 05:52:24 -07:00
Shantanu
2414b21a96
Update xxhash ( #8034 )
...
Co-authored-by: hauntsaninja <>
2022-06-07 17:45:04 -07:00
Akuli
e613fc483b
Delete python 2 branches from third-party stubs ( #7741 )
...
Since #7703 , we no longer have third-party stubs that support Python 2, so code like `if sys.version_info >= (3, 0)` can be simplified.
2022-04-29 20:53:01 +01:00
Sebastian Rittau
f7aa41245e
Drop Python 2 support in third-party stubs ( #7703 )
2022-04-27 15:32:17 +03:00
Sebastian Rittau
9f86972350
Add star to all non-0.1 versions ( #6146 )
2021-10-11 13:41:19 -07:00
Bas van Beek
a1ca55037a
Update the xxhash and hashlib stubs ( #6031 )
...
* `name`, `block_size`, `digest_size` and `digestsize` attributes of hash objects were made read-only.
* It is now a type-checking error to subclass `xxhash` classes, such as `xxhash.xxh32`. Previously it was an error only at runtime.
* `xxhash` functions now accept strings as input and any object with `__index__()` method for `seed` (instead of requiring an integer). They also fail the type checking if no arguments are given.
2021-09-14 12:01:11 +03:00
Shantanu
41f4f0f00f
xxhash: add seed arguments, reset method, missing attributes ( #5802 )
...
Update version in METADATA.toml
2021-07-24 14:55:22 +02:00
Mohit Goyani
23efb32c43
fixed wrong return type in xxhash ( #5378 )
...
* fixed wrong return type in xxhash
2021-05-09 20:14:08 +03:00
Shantanu
fa9d5a5e9f
future first: switch the order of some if statements ( #5206 )
...
Since we're adding this to our contribution guidelines in
https://github.com/python/typeshed/pull/5205
2021-04-11 06:44:18 -07:00
Eric Traut
a1f16da64e
Added some missing parameter annotations and type arguments detected by pyright. ( #5061 )
...
Co-authored-by: Eric Traut <erictr@microsoft.com >
2021-02-23 19:46:53 +01:00
Ivan Levkivskyi
16ae4c6120
Re-organize directory structure ( #4971 )
...
See discussion in #2491
Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com >
2021-01-27 12:00:39 +00:00