Sebastian Rittau
e1c74f08f1
[bleach] Update to 6.2.* ( #12927 )
2024-11-22 11:30:49 -05:00
Sebastian Rittau
33de88879f
Remove bare Incomplete annotations in third-party stubs ( #11671 )
2024-03-30 18:34:51 -07:00
Shantanu
88fa182253
Use PEP 570 syntax in third party stubs ( #11554 )
2024-03-10 14:11:43 +01:00
Nikita Sobolev
a2095002e4
Complete stubs for bleach ( #9314 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
Co-authored-by: Avasam <samuel.06@hotmail.com >
2024-02-21 20:03:24 +00:00
Jelle Zijlstra
0c7bdffa90
third-party: make some protocol params pos-only ( #11006 )
2023-11-10 07:40:10 +01:00
github-actions[bot]
13673bb07c
[stubsabot] Bump bleach to 6.1.* ( #10852 )
...
Release: https://pypi.org/pypi/bleach/6.1.0
Homepage: https://github.com/mozilla/bleach
Repository: https://github.com/mozilla/bleach
Diff: https://github.com/mozilla/bleach/compare/v6.0.0...v6.1.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: `bleach/__init__.py`, `bleach/html5lib_shim.py`, `bleach/linkifier.py`.
- Total lines of Python code added: 41.
- Total lines of Python code deleted: 14.
2023-10-07 01:33:42 +01:00
Sebastian Rittau
af8c3a1b93
[bleach] Add html5lib_shim.Filter__init__/__iter__ ( #10835 )
...
The missing __init__ method caused `Filter` to be incompatible
with the `_Filter` protocol, preventing valid initialization of
`Cleaner` instances.
Closes : #10834
2023-10-04 17:19:26 +01:00
Sebastian Rittau
afe18e95a9
Add an upstream_repository field to METADATA.toml ( #10487 )
...
Closes : #10478
2023-07-20 16:45:41 +02:00
Avasam
db0149859c
Add partial_stub metadata field ( #10157 )
2023-05-10 17:04:18 +02:00
Alex Waygood
b9fedd20ce
Add defaults for third-party stubs A-D ( #9952 )
2023-03-27 16:49:58 +01:00
Avasam
ed6748fb32
Stubtest settings: change ignore_missing_stub default to false ( #9779 )
...
If you're reading about this commit from an autogenerated changelog entry, this should have no user-visible impact on how the stubs are interpreted by a type checker; it's just an internal change to how typeshed's tests work.
2023-02-20 22:37:45 +00:00
Sebastian Rittau
4148a7b73e
Upgrade bleach stubs for 6.0 ( #9583 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-01-24 15:46:34 +00:00
Nikita Sobolev
ce4668a132
Use Incomplete instead of Any in __getattr__ ( #8903 )
2022-10-15 18:54:21 +01:00
Alex Waygood
6348a58b8b
Import Match and Pattern from re, not typing ( #8277 )
2022-07-12 15:32:48 +02:00
Alex Waygood
b093c90a94
Use TypeAlias for type aliases where possible, part II ( #7667 )
2022-04-20 20:02:47 +01:00
Alex Waygood
740193a8fc
Use TypeAlias where possible for type aliases ( #7630 )
2022-04-15 18:01:00 -07:00
Sebastian Rittau
636a7e8b37
Update bleach stubs to version 5 ( #7612 )
2022-04-11 17:48:55 -07:00
Alex Waygood
3ab250eec8
Use PEP 604 syntax wherever possible ( #7493 )
2022-03-16 16:01:33 +01:00
Alex Waygood
505ea72641
Never explicitly inherit from object in Python 3-only stubs ( #6777 )
2022-01-02 07:24:48 +01:00
Alex Waygood
8d5d2520ac
Use PEP 585 syntax wherever possible ( #6717 )
2021-12-28 11:31:43 +01:00
Sebastian Rittau
9f86972350
Add star to all non-0.1 versions ( #6146 )
2021-10-11 13:41:19 -07:00
Sebastian Rittau
5f77310418
Update bleach version (no changes) ( #5982 )
2021-08-30 07:15:23 -07:00
Sebastian Rittau
978659643d
Upgrade bleach version to 4 and drop Python 2 ( #5897 )
...
bleach 4 has no API changes, but dropped support for old Python
versions.
2021-08-09 07:26:30 -07:00
Akuli
ce11072dbe
Big diff: use lower-case list and dict ( #5888 )
2021-08-08 09:26:35 -07:00
Akuli
ee487304d7
Big diff: Use new "|" union syntax ( #5872 )
2021-08-08 11:05:21 +02:00
Sebastian Rittau
64f463172b
bleach: Loosen attribute dict type ( #5651 )
...
Closes : #5650
2021-06-17 12:53:16 +02:00
Sebastian Rittau
4c3e3a68a6
Update bleach stubs ( #5631 )
2021-06-14 06:50:51 -07:00
Shantanu
7244ea1f71
Test third party stubs with stubtest ( #5615 )
2021-06-13 00:17:40 +02: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