Commit Graph

44 Commits

Author SHA1 Message Date
Stephen Morton
097581ea47 Update to mypy 1.14 (#13272) 2024-12-20 17:29:38 -08:00
github-actions[bot]
5161a236a0 [stubsabot] Bump regex to 2024.11.6 (#12967) 2024-11-07 09:44:01 +01:00
github-actions[bot]
6259b61658 [stubsabot] Bump regex to 2024.9.11 (#12641)
Release: https://pypi.org/pypi/regex/2024.9.11
Homepage: https://github.com/mrabarnett/mrab-regex
Repository: https://github.com/mrabarnett/mrab-regex
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/regex
Diff: https://github.com/mrabarnett/mrab-regex/compare/2024.7.24...2024.9.11

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 7.
 - Total lines of Python code deleted: 3.

If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR

Note that you will need to close and re-open the PR in order to trigger CI

Co-authored-by: stubsabot <>
2024-09-11 20:47:52 -04:00
github-actions[bot]
f370767c3f [stubsabot] Bump regex to 2024.7.24 (#12424) 2024-07-25 01:48:39 -07:00
Shantanu
d9cf43c4c3 Mark pos-only __class_getitem__ args (#11970) 2024-05-18 23:27:51 +02:00
Ali Hamdan
bd306f6b4c Use assignment instead of annotation in third party enums (#11957) 2024-05-18 17:31:39 +02:00
github-actions[bot]
1c2d0230fa [stubsabot] Bump regex to 2024.5.15 (#11918)
Co-authored-by: stubsabot <>
2024-05-15 20:34:37 -04:00
Ali Hamdan
6565e8a0a0 regex: functions do not accept any buffer for pattern (#11899) 2024-05-11 12:50:45 +02:00
github-actions[bot]
65e989d15e [stubsabot] Bump regex to 2024.5.10 (#11894)
Release: https://pypi.org/pypi/regex/2024.5.10
Homepage: https://github.com/mrabarnett/mrab-regex
Repository: https://github.com/mrabarnett/mrab-regex
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/regex
Diff: https://github.com/mrabarnett/mrab-regex/compare/2024.4.28...2024.5.10

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 6.
 - Total lines of Python code deleted: 4.
2024-05-10 17:21:48 -07:00
Arthur Bols
32ab6813bc regex: improve Pattern annotations (#11862)
- Corrected types for `pos` and `endpos` arguments to `int | None = None`
- Corrected type for `timeout` argument to `float | None = None`
- Added default value `None` for `concurrent` and `timeout` parameters
- Added default value `0` for `maxsplit` parameter
- Added `partial` parameter where applicable
- Removed invalid `flags` parameter from `sub` methods
2024-05-04 19:39:35 -07:00
github-actions[bot]
6dc9187625 [stubsabot] Bump regex to 2024.4.28 (#11842)
Release: https://pypi.org/pypi/regex/2024.4.28
Homepage: https://github.com/mrabarnett/mrab-regex
Repository: https://github.com/mrabarnett/mrab-regex
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/regex
Diff: https://github.com/mrabarnett/mrab-regex/compare/2024.4.16...2024.4.28

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 10.
 - Total lines of Python code deleted: 7.
2024-04-29 07:11:02 +01:00
Eric Traut
17f1c4628a Add precise values for enum members where possible (#11299)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
2024-04-22 15:10:59 +01:00
github-actions[bot]
0445d74489 [stubsabot] Bump regex to 2024.4.16 (#11773) 2024-04-17 07:51:58 +02:00
Shantanu
88fa182253 Use PEP 570 syntax in third party stubs (#11554) 2024-03-10 14:11:43 +01:00
Sebastian Rittau
b6eaadcfe5 Update typing_extensions imports in third-party stubs (#11245) 2024-01-05 15:40:13 +01:00
github-actions[bot]
ed201da420 [stubsabot] Bump regex to 2023.12.25 (#11198) 2023-12-25 01:21:37 +01:00
github-actions[bot]
d60e66712a [stubsabot] Bump regex to 2023.10.3 (#10832) 2023-10-03 18:41:22 -07:00
github-actions[bot]
b28e166c19 [stubsabot] Bump regex to 2023.8.8 (#10553)
Release: https://pypi.org/pypi/regex/2023.8.8
Homepage: https://github.com/mrabarnett/mrab-regex
Repository: https://github.com/mrabarnett/mrab-regex
Diff: https://github.com/mrabarnett/mrab-regex/compare/2023.6.3...2023.8.8

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 15.
 - Total lines of Python code deleted: 10.
2023-08-10 01:32:17 +01:00
Sebastian Rittau
afe18e95a9 Add an upstream_repository field to METADATA.toml (#10487)
Closes: #10478
2023-07-20 16:45:41 +02:00
github-actions[bot]
d5555b1018 [stubsabot] Bump regex to 2023.6.3 (#10252)
Release: https://pypi.org/pypi/regex/2023.6.3
Homepage: https://github.com/mrabarnett/mrab-regex
Diff: https://github.com/mrabarnett/mrab-regex/compare/2023.5.5...2023.6.3

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 8.
 - Total lines of Python code deleted: 2.
2023-06-04 01:42:36 +01:00
github-actions[bot]
f9551c4fea [stubsabot] Bump regex to 2023.5.5 (#10138)
Release: https://pypi.org/pypi/regex/2023.5.5
Homepage: https://github.com/mrabarnett/mrab-regex
Diff: https://github.com/mrabarnett/mrab-regex/compare/2023.5.4...2023.5.5

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 2.
 - Total lines of Python code deleted: 2.
2023-05-04 06:06:45 +01:00
github-actions[bot]
06878a98be [stubsabot] Bump regex to 2023.5.4 (#10131)
Release: https://pypi.org/pypi/regex/2023.5.4
Homepage: https://github.com/mrabarnett/mrab-regex
Diff: https://github.com/mrabarnett/mrab-regex/compare/2023.3.23...2023.5.4

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 8.
 - Total lines of Python code deleted: 3.
2023-05-03 01:28:29 +01:00
Alex Waygood
b69b17c3d8 Add defaults for third-party stubs Q-T (#9959) 2023-03-28 13:16:31 +02:00
github-actions[bot]
2db7be077e [stubsabot] Bump regex to 2023.3.23 (#9933)
Release: https://pypi.org/pypi/regex/2023.3.23
Homepage: https://github.com/mrabarnett/mrab-regex
Diff: https://github.com/mrabarnett/mrab-regex/compare/2023.03.22...2023.3.23

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 2.
 - Total lines of Python code deleted: 2.
2023-03-24 00:25:06 +00:00
github-actions[bot]
83fa464175 [stubsabot] Bump regex to 2023.3.22 (#9927)
Release: https://pypi.org/pypi/regex/2023.3.22
Homepage: https://github.com/mrabarnett/mrab-regex
Diff: https://github.com/mrabarnett/mrab-regex/compare/2022.10.31...2023.03.22

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 6.
 - Total lines of Python code deleted: 8.
2023-03-23 00:22:05 +00: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
Alex Waygood
7180d0223b Use typing_extensions.Self instead of _typeshed.Self (#9702) 2023-02-15 11:32:43 +01:00
Alex Waygood
60789273a2 Improve pyright verification of third-party test cases in CI (#9650)
Co-authored-by: Avasam <samuel.06@hotmail.com>
2023-02-07 11:53:54 +00:00
Alex Waygood
b3728f38f5 Add test case for recent types-regex regression (#9269) 2022-11-24 11:37:12 -08:00
Tom Milligan
b1ec9be66b regex: fix type signatures using Scanner (#9266) 2022-11-24 13:57:24 +01:00
Nikita Sobolev
f8dfb5f725 Mark regex as completed (#9214) 2022-11-22 21:03:01 -08:00
github-actions[bot]
70037c7cc0 [stubsabot] Bump regex to 2022.10.31 (#9050)
Release: https://pypi.org/pypi/regex/2022.10.31
Homepage: https://github.com/mrabarnett/mrab-regex
Diff: https://github.com/mrabarnett/mrab-regex/compare/2022.9.13...2022.10.31

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 3.
 - Total lines of Python code deleted: 2.

If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR

Note that you will need to close and re-open the PR in order to trigger CI

Co-authored-by: stubsabot <>
2022-11-01 00:27:58 +00:00
Reuben Thomas
708996dff0 regex: add support for RegexFlag class (#8881) 2022-10-11 17:07:09 +02:00
github-actions[bot]
7119404391 [stubsabot] Bump regex to 2022.9.13 (#8751)
Release: https://pypi.org/project/regex/2022.9.13/
Homepage: https://github.com/mrabarnett/mrab-regex
Diff: https://github.com/mrabarnett/mrab-regex/compare/2022.8.17...2022.9.13
2022-09-16 01:36:49 +01:00
github-actions[bot]
f9450dcf8b [stubsabot] Bump regex to 2022.8.17 (#8562)
Co-authored-by: stubsabot <>
2022-08-18 17:48:23 -07:00
github-actions[bot]
81a8e11638 [stubsabot] Bump regex to 2022.7.25 (#8432)
Co-authored-by: stubsabot <>
2022-07-28 17:29:39 -07:00
Shantanu
865eb9bd0c [stubsabot] Bump regex to 2022.7.9 (#8300)
Co-authored-by: hauntsaninja <>
2022-07-14 20:32:48 -07:00
Shantanu
d975734b8b Bump regex to 2022.6.2 (#8162)
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2022-06-26 08:18:01 +05:30
Alex Waygood
3fe1f5d6c4 requests, regex: use re-exports instead of assignments in a few places (#8127) 2022-06-21 08:20:13 -07:00
Jelle Zijlstra
b00b4f3447 regex: accept buffers (#7680)
Similar to #7679

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2022-05-10 15:08:36 -07:00
Alex Waygood
653f2c6ba4 Third-party stubs: import from collections.abc where possible (#7637) 2022-04-16 14:52:57 +01:00
Joseph Young
d3941c2463 regex stubs: Add __getitem__ method to Match (#7372) 2022-02-23 19:38:29 +01:00
Sebastian Rittau
e77a66aced Update pyright (#6840) 2022-01-07 18:58:15 +02:00
Joseph Young
fbf5982d4d Add regex stubs (#6713)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2021-12-30 21:15:42 +02:00