From dd33fdd0a045d8b7e2e54aeebd761ebf292f4131 Mon Sep 17 00:00:00 2001 From: statsabot <> Date: Sun, 8 Jan 2023 01:44:57 +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 | 3 ++- examples/example.json | 40 +++++++++++++++++++++++++--- examples/example.md | 61 ++++++++++++++++++++++++++++++++++++++++--- 3 files changed, 95 insertions(+), 9 deletions(-) diff --git a/examples/example.csv b/examples/example.csv index 831353b3..5a8004a8 100644 --- a/examples/example.csv +++ b/examples/example.csv @@ -73,6 +73,7 @@ ldap3,types-ldap3,-,2586,UP_TO_DATE,UPLOADED,NOT_STRICT,533,675,216,423,0,0,294, mock,types-mock,-,352,UP_TO_DATE,UPLOADED,STRICT,204,0,85,0,0,0,123,15,56,34,0,23,2,0,ERROR_ON_MISSING_STUB,linux,2 mypy-extensions,types-mypy-extensions,-,64,UP_TO_DATE,UPLOADED,STRICT,28,0,25,0,0,0,1,7,1,0,0,3,0,0,ERROR_ON_MISSING_STUB,linux,2 mysqlclient,types-mysqlclient,-,1213,UP_TO_DATE,UPLOADED,NOT_STRICT,28,128,83,30,0,0,4,51,972,31,0,35,1,0,ERROR_ON_MISSING_STUB,linux,1 +netaddr,types-netaddr,-,660,UP_TO_DATE,UPLOADED,STRICT,292,0,310,0,5,0,1,1,103,0,2,43,0,0,ERROR_ON_MISSING_STUB,linux,8 oauthlib,types-oauthlib,-,1296,UP_TO_DATE,UPLOADED,NOT_STRICT,274,541,139,211,0,0,185,0,318,207,0,106,2,0,MISSING_STUBS_IGNORED,linux,1 openpyxl,types-openpyxl,-,8979,UP_TO_DATE,UPLOADED,NOT_STRICT,2597,660,744,423,0,0,2218,19,4197,3566,0,566,5,0,MISSING_STUBS_IGNORED,linux,1 opentracing,types-opentracing,-,328,UP_TO_DATE,UPLOADED,STRICT,105,0,113,0,0,0,22,0,56,4,0,26,0,0,MISSING_STUBS_IGNORED,linux,4 @@ -106,7 +107,7 @@ pytest-lazy-fixture,types-pytest-lazy-fixture,-,12,UP_TO_DATE,UPLOADED,STRICT,5, python-crontab,types-python-crontab,-,271,UP_TO_DATE,UPLOADED,NOT_STRICT,99,37,104,30,5,4,13,1,65,1,27,17,0,1,ERROR_ON_MISSING_STUB,linux,2 python-dateutil,types-python-dateutil,-,441,UP_TO_DATE,UPLOADED,NOT_STRICT,171,66,106,48,3,0,2,0,90,13,1,29,0,0,MISSING_STUBS_IGNORED,linux,11 python-gflags,types-python-gflags,-,251,UP_TO_DATE,UPLOADED,STRICT,186,0,98,0,0,0,39,9,19,2,0,27,0,0,ERROR_ON_MISSING_STUB,linux,1 -python-jose,types-python-jose,-,359,UP_TO_DATE,UPLOADED,NOT_STRICT,86,39,60,30,0,0,18,12,117,33,0,26,0,0,ERROR_ON_MISSING_STUB,linux,6 +python-jose,types-python-jose,-,355,UP_TO_DATE,UPLOADED,NOT_STRICT,86,39,64,26,0,0,18,12,117,30,0,26,0,0,ERROR_ON_MISSING_STUB,linux,6 python-nmap,types-python-nmap,-,116,UP_TO_DATE,UPLOADED,STRICT,44,0,44,0,0,0,0,0,31,0,0,14,1,0,ERROR_ON_MISSING_STUB,linux,1 python-slugify,types-python-slugify,-,45,UP_TO_DATE,UPLOADED,STRICT,19,0,3,0,0,0,0,0,12,0,0,0,0,0,ERROR_ON_MISSING_STUB,linux,1 python-xlib,types-python-xlib,-,5392,UP_TO_DATE,UPLOADED,STRICT,1335,0,583,0,0,0,15,8,3525,5,0,426,0,0,ERROR_ON_MISSING_STUB,linux,14 diff --git a/examples/example.json b/examples/example.json index cf995f7a..535cd650 100644 --- a/examples/example.json +++ b/examples/example.json @@ -2365,6 +2365,38 @@ "classdefs_with_Incomplete": 0 } }, + { + "package_name": "netaddr", + "stub_distribution_name": "types-netaddr", + "extra_description": null, + "number_of_lines": 660, + "package_status": "UP_TO_DATE", + "upload_status": "UPLOADED", + "stubtest_settings": { + "strictness": "ERROR_ON_MISSING_STUB", + "platforms": [ + "linux" + ], + "allowlist_length": 8 + }, + "pyright_setting": "STRICT", + "annotation_stats": { + "annotated_parameters": 292, + "unannotated_parameters": 0, + "annotated_returns": 310, + "unannotated_returns": 0, + "explicit_Incomplete_parameters": 5, + "explicit_Incomplete_returns": 0, + "explicit_Any_parameters": 1, + "explicit_Any_returns": 1, + "annotated_variables": 103, + "explicit_Any_variables": 0, + "explicit_Incomplete_variables": 2, + "classdefs": 43, + "classdefs_with_Any": 0, + "classdefs_with_Incomplete": 0 + } + }, { "package_name": "oauthlib", "stub_distribution_name": "types-oauthlib", @@ -3429,7 +3461,7 @@ "package_name": "python-jose", "stub_distribution_name": "types-python-jose", "extra_description": null, - "number_of_lines": 359, + "number_of_lines": 355, "package_status": "UP_TO_DATE", "upload_status": "UPLOADED", "stubtest_settings": { @@ -3443,14 +3475,14 @@ "annotation_stats": { "annotated_parameters": 86, "unannotated_parameters": 39, - "annotated_returns": 60, - "unannotated_returns": 30, + "annotated_returns": 64, + "unannotated_returns": 26, "explicit_Incomplete_parameters": 0, "explicit_Incomplete_returns": 0, "explicit_Any_parameters": 18, "explicit_Any_returns": 12, "annotated_variables": 117, - "explicit_Any_variables": 33, + "explicit_Any_variables": 30, "explicit_Incomplete_variables": 0, "classdefs": 26, "classdefs_with_Any": 0, diff --git a/examples/example.md b/examples/example.md index dd896b5a..9f37d78d 100644 --- a/examples/example.md +++ b/examples/example.md @@ -3922,6 +3922,59 @@ All files in this stubs package are excluded from the stricter pyright settings
+## Info on typeshed's stubs for `netaddr` + +### Stub distribution name + +`types-netaddr` + +### Number of lines + +660 (excluding blank lines) + +### Package status: *up to 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. + +### Upload status: *uploaded* + +These stubs are currently uploaded to PyPI. + +### Stubtest settings in CI: *error on missing stub* + +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 allowlist entries for `netaddr` when running stubtest in CI. + +### Pyright settings in CI: *strict* + +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 `netaddr` + +- Parameters (excluding `self`, `cls`, `metacls` and `mcls`): + - Annotated parameters: 292 + - Unannotated parameters: 0 + - Explicit `Any` parameters: 1 + - Explicitly `Incomplete` (or partially `Incomplete`) parameters: 5 +- Returns: + - Annotated returns: 310 + - Unannotated returns: 0 + - Explicit `Any` returns: 1 + - Explicitly `Incomplete` (or partially `Incomplete`) returns: 0 +- Variables: + - Annotated variables: 103 + - Explicit `Any` variables: 0 + - Explicitly `Incomplete` (or partially `Incomplete`) variables: 2 +- Class definitions: + - Total class definitions: 43 + - Class definitions with `Any`: 0 + - Class definitions marked as at least partially `Incomplete`: 0 + +
+ ## Info on typeshed's stubs for `oauthlib` ### Stub distribution name @@ -5685,7 +5738,7 @@ All files in this stubs package are tested with the stricter pyright settings in ### Number of lines -359 (excluding blank lines) +355 (excluding blank lines) ### Package status: *up to date* @@ -5715,13 +5768,13 @@ All files in this stubs package are excluded from the stricter pyright settings - Explicit `Any` parameters: 18 - Explicitly `Incomplete` (or partially `Incomplete`) parameters: 0 - Returns: - - Annotated returns: 60 - - Unannotated returns: 30 + - Annotated returns: 64 + - Unannotated returns: 26 - Explicit `Any` returns: 12 - Explicitly `Incomplete` (or partially `Incomplete`) returns: 0 - Variables: - Annotated variables: 117 - - Explicit `Any` variables: 33 + - Explicit `Any` variables: 30 - Explicitly `Incomplete` (or partially `Incomplete`) variables: 0 - Class definitions: - Total class definitions: 26