From 45f6af6495095ee73b65c2429e3a40aa9147d995 Mon Sep 17 00:00:00 2001 From: statsabot <> Date: Sat, 21 Sep 2024 01:38:55 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Automated=20regeneration=20of=20?= =?UTF-8?q?examples=20and=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/example.csv | 4 ++-- examples/example.json | 30 +++++++++++++++--------------- examples/example.md | 34 +++++++++++++++++----------------- 3 files changed, 34 insertions(+), 34 deletions(-) diff --git a/examples/example.csv b/examples/example.csv index 54e79140..c1e1874e 100644 --- a/examples/example.csv +++ b/examples/example.csv @@ -27,7 +27,7 @@ beautifulsoup4,types-beautifulsoup4,https://git.launchpad.net/beautifulsoup/tree bleach,types-bleach,https://github.com/mozilla/bleach,COMPLETE,-,239,UP_TO_DATE,UPLOADED,STRICT_ON_SOME_FILES,91,0,49,1,0,1,2,0,60,1,0,13,0,0,ERROR_ON_MISSING_STUB,linux,2 boltons,types-boltons,https://github.com/mahmoud/boltons,COMPLETE,-,1212,UP_TO_DATE,UPLOADED,NOT_STRICT,634,263,456,172,72,8,61,34,234,7,69,81,1,3,ERROR_ON_MISSING_STUB,linux,5 boto,types-boto,https://github.com/boto/boto,PARTIAL,-,1916,UP_TO_DATE,UPLOADED,NOT_STRICT,837,685,168,442,345,2,21,31,363,267,0,136,0,0,MISSING_STUBS_IGNORED,linux,9 -braintree,types-braintree,https://github.com/braintree/braintree_python,COMPLETE,-,2937,UP_TO_DATE,UPLOADED,NOT_STRICT,91,429,142,325,80,2,1,1,1506,0,131,268,0,0,ERROR_ON_MISSING_STUB,linux,1 +braintree,types-braintree,https://github.com/braintree/braintree_python,COMPLETE,-,2937,OUT_OF_DATE,UPLOADED,NOT_STRICT,91,429,142,325,80,2,1,1,1506,0,131,268,0,0,ERROR_ON_MISSING_STUB,linux,1 cachetools,types-cachetools,https://github.com/tkem/cachetools,COMPLETE,-,124,UP_TO_DATE,UPLOADED,STRICT,90,0,49,0,0,0,4,0,1,0,0,10,0,0,ERROR_ON_MISSING_STUB,linux,20 caldav,types-caldav,https://github.com/python-caldav/caldav,PARTIAL,-,527,UP_TO_DATE,UPLOADED,NOT_STRICT,214,35,117,8,21,5,1,0,94,0,6,86,0,0,MISSING_STUBS_IGNORED,linux,7 capturer,types-capturer,https://github.com/xolox/python-capturer,COMPLETE,-,114,UP_TO_DATE,UPLOADED,STRICT,50,0,42,0,0,0,4,1,38,4,0,6,0,0,ERROR_ON_MISSING_STUB,linux,1 @@ -132,7 +132,7 @@ pytz,types-pytz,https://github.com/stub42/pytz,COMPLETE,-,133,UP_TO_DATE,UPLOADE pywin32,types-pywin32,https://github.com/mhammond/pywin32,COMPLETE,-,34801,UP_TO_DATE,UPLOADED,NOT_STRICT,3800,3558,3865,1987,419,288,1,1,25095,0,2824,724,0,0,ERROR_ON_MISSING_STUB,win32,46 pyxdg,types-pyxdg,https://github.com/takluyver/pyxdg,COMPLETE,-,860,UP_TO_DATE,UPLOADED,NOT_STRICT,511,1,297,0,2,0,0,0,165,0,1,31,0,0,ERROR_ON_MISSING_STUB,linux,2 qrbill,types-qrbill,https://github.com/claudep/swiss-qr-bill,COMPLETE,-,172,UP_TO_DATE,UPLOADED,STRICT,96,0,31,0,0,0,0,4,33,0,0,4,0,0,ERROR_ON_MISSING_STUB,linux,2 -qrcode,types-qrcode,https://github.com/lincolnloop/python-qrcode,COMPLETE,-,524,UP_TO_DATE,UPLOADED,NOT_STRICT,109,174,109,60,14,2,2,1,166,0,91,40,0,0,ERROR_ON_MISSING_STUB,linux,8 +qrcode,types-qrcode,https://github.com/lincolnloop/python-qrcode,COMPLETE,-,650,UP_TO_DATE,UPLOADED,STRICT,280,0,151,0,0,0,21,8,151,0,0,42,0,0,ERROR_ON_MISSING_STUB,linux,11 redis,types-redis,https://github.com/redis/redis-py,PARTIAL,-,6185,OBSOLETE,UPLOADED,NOT_STRICT,3945,1223,1379,607,352,5,92,330,618,158,34,215,0,2,MISSING_STUBS_IGNORED,linux,67 regex,types-regex,https://github.com/mrabarnett/mrab-regex,COMPLETE,-,750,UP_TO_DATE,UPLOADED,STRICT,431,0,114,0,0,0,25,16,4,0,0,7,0,0,ERROR_ON_MISSING_STUB,linux,13 reportlab,types-reportlab,https://github.com/MrBitBucket/reportlab-mirror,COMPLETE,-,7874,UP_TO_DATE,UPLOADED,NOT_STRICT,1917,2350,1514,1021,330,3,26,12,2743,6,1210,577,0,2,ERROR_ON_MISSING_STUB,linux,66 diff --git a/examples/example.json b/examples/example.json index ebc8cdca..14186b07 100644 --- a/examples/example.json +++ b/examples/example.json @@ -960,7 +960,7 @@ "completeness_level": "COMPLETE", "extra_description": null, "number_of_lines": 2937, - "package_status": "UP_TO_DATE", + "package_status": "OUT_OF_DATE", "upload_status": "UPLOADED", "stubtest_settings": { "strictness": "ERROR_ON_MISSING_STUB", @@ -4545,7 +4545,7 @@ "upstream_url": "https://github.com/lincolnloop/python-qrcode", "completeness_level": "COMPLETE", "extra_description": null, - "number_of_lines": 524, + "number_of_lines": 650, "package_status": "UP_TO_DATE", "upload_status": "UPLOADED", "stubtest_settings": { @@ -4553,22 +4553,22 @@ "platforms": [ "linux" ], - "allowlist_length": 8 + "allowlist_length": 11 }, - "pyright_setting": "NOT_STRICT", + "pyright_setting": "STRICT", "annotation_stats": { - "annotated_parameters": 109, - "unannotated_parameters": 174, - "annotated_returns": 109, - "unannotated_returns": 60, - "explicit_Incomplete_parameters": 14, - "explicit_Incomplete_returns": 2, - "explicit_Any_parameters": 2, - "explicit_Any_returns": 1, - "annotated_variables": 166, + "annotated_parameters": 280, + "unannotated_parameters": 0, + "annotated_returns": 151, + "unannotated_returns": 0, + "explicit_Incomplete_parameters": 0, + "explicit_Incomplete_returns": 0, + "explicit_Any_parameters": 21, + "explicit_Any_returns": 8, + "annotated_variables": 151, "explicit_Any_variables": 0, - "explicit_Incomplete_variables": 91, - "classdefs": 40, + "explicit_Incomplete_variables": 0, + "classdefs": 42, "classdefs_with_Any": 0, "classdefs_with_Incomplete": 0 } diff --git a/examples/example.md b/examples/example.md index f4c0048e..5a831d7e 100644 --- a/examples/example.md +++ b/examples/example.md @@ -1606,9 +1606,9 @@ This package is tested with pyright in typeshed's CI, but all files in this stub 2,937 (excluding blank lines) -### Package status: *up to date* +### Package status: *out of date* -These stubs should be fairly up to date. In typeshed's CI, [stubtest][] tests these stubs against the latest version of the runtime package that's available. +These stubs may be out of date. In typeshed's CI, [stubtest][] tests these stubs against an older version of the runtime package than the latest that's available. ### Upload status: *uploaded* @@ -7597,7 +7597,7 @@ All files in this stubs package are tested with the stricter pyright settings in ### Number of lines -524 (excluding blank lines) +650 (excluding blank lines) ### Package status: *up to date* @@ -7613,30 +7613,30 @@ Objects missing from the stub cause stubtest to emit an error in typeshed's CI. In CI, stubtest is run on `linux` only. -Typeshed currently has 8 unique allowlist entries for `qrcode` when running stubtest in CI. +Typeshed currently has 11 unique allowlist entries for `qrcode` when running stubtest in CI. -### Pyright settings in CI: *not strict* +### Pyright settings in CI: *strict* -This package is tested with pyright in typeshed's CI, but all files in this stubs package are excluded from the stricter pyright settings. +All files in this stubs package are tested with the stricter pyright settings in typeshed's CI. ### Statistics on the annotations in typeshed's stubs for `qrcode` - Parameters (excluding `self`, `cls`, `metacls` and `mcls`): - - Annotated parameters: 109 - - Unannotated parameters: 174 - - Explicit `Any` parameters: 2 - - Explicitly `Incomplete` (or partially `Incomplete`) parameters: 14 + - Annotated parameters: 280 + - Unannotated parameters: 0 + - Explicit `Any` parameters: 21 + - Explicitly `Incomplete` (or partially `Incomplete`) parameters: 0 - Returns: - - Annotated returns: 109 - - Unannotated returns: 60 - - Explicit `Any` returns: 1 - - Explicitly `Incomplete` (or partially `Incomplete`) returns: 2 + - Annotated returns: 151 + - Unannotated returns: 0 + - Explicit `Any` returns: 8 + - Explicitly `Incomplete` (or partially `Incomplete`) returns: 0 - Variables: - - Annotated variables: 166 + - Annotated variables: 151 - Explicit `Any` variables: 0 - - Explicitly `Incomplete` (or partially `Incomplete`) variables: 91 + - Explicitly `Incomplete` (or partially `Incomplete`) variables: 0 - Class definitions: - - Total class definitions: 40 + - Total class definitions: 42 - Class definitions with `Any`: 0 - Class definitions marked as at least partially `Incomplete`: 0