From 49f753cdcbafcdccf85ad1c5363256d3035001a0 Mon Sep 17 00:00:00 2001 From: statsabot <> Date: Sat, 7 Jan 2023 01:36:50 +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 | 1 + examples/example.json | 32 ++++++++++++++++++++++++++ examples/example.md | 53 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 86 insertions(+) diff --git a/examples/example.csv b/examples/example.csv index aae7ef37..831353b3 100644 --- a/examples/example.csv +++ b/examples/example.csv @@ -92,6 +92,7 @@ psutil,types-psutil,-,1506,UP_TO_DATE,UPLOADED,NOT_STRICT,117,310,185,358,2,0,26 psycopg2,types-psycopg2,-,1552,UP_TO_DATE,UPLOADED,NOT_STRICT,171,328,189,169,0,0,56,7,532,168,0,335,2,0,MISSING_STUBS_IGNORED,linux,5 pyOpenSSL,types-pyOpenSSL,-,373,UP_TO_DATE,UPLOADED,STRICT,163,0,198,0,3,2,3,2,119,1,0,25,0,0,MISSING_STUBS_IGNORED,linux,1 pyRFC3339,types-pyRFC3339,-,17,UP_TO_DATE,UPLOADED,STRICT,15,0,9,0,0,0,1,0,0,0,0,1,0,0,ERROR_ON_MISSING_STUB,linux,0 +pyasn1,types-pyasn1,-,1321,UP_TO_DATE,UPLOADED,NOT_STRICT,196,501,110,412,38,6,0,0,207,0,1,164,0,0,ERROR_ON_MISSING_STUB,linux,8 pyaudio,types-pyaudio,-,165,UP_TO_DATE,UPLOADED,STRICT,51,0,37,0,0,0,0,0,72,0,0,3,0,0,ERROR_ON_MISSING_STUB,darwin;linux,0 pycocotools,types-pycocotools,-,172,UP_TO_DATE,UPLOADED,STRICT,51,0,35,0,0,0,0,1,64,0,1,11,0,0,ERROR_ON_MISSING_STUB,linux,0 pycurl,types-pycurl,-,674,UP_TO_DATE,UPLOADED,STRICT,22,0,32,0,7,10,0,0,629,0,0,4,0,0,ERROR_ON_MISSING_STUB,linux,0 diff --git a/examples/example.json b/examples/example.json index 4cecf35c..cf995f7a 100644 --- a/examples/example.json +++ b/examples/example.json @@ -2976,6 +2976,38 @@ "classdefs_with_Incomplete": 0 } }, + { + "package_name": "pyasn1", + "stub_distribution_name": "types-pyasn1", + "extra_description": null, + "number_of_lines": 1321, + "package_status": "UP_TO_DATE", + "upload_status": "UPLOADED", + "stubtest_settings": { + "strictness": "ERROR_ON_MISSING_STUB", + "platforms": [ + "linux" + ], + "allowlist_length": 8 + }, + "pyright_setting": "NOT_STRICT", + "annotation_stats": { + "annotated_parameters": 196, + "unannotated_parameters": 501, + "annotated_returns": 110, + "unannotated_returns": 412, + "explicit_Incomplete_parameters": 38, + "explicit_Incomplete_returns": 6, + "explicit_Any_parameters": 0, + "explicit_Any_returns": 0, + "annotated_variables": 207, + "explicit_Any_variables": 0, + "explicit_Incomplete_variables": 1, + "classdefs": 164, + "classdefs_with_Any": 0, + "classdefs_with_Incomplete": 0 + } + }, { "package_name": "pyaudio", "stub_distribution_name": "types-pyaudio", diff --git a/examples/example.md b/examples/example.md index 293ea8e1..dd896b5a 100644 --- a/examples/example.md +++ b/examples/example.md @@ -4937,6 +4937,59 @@ All files in this stubs package are tested with the stricter pyright settings in
+## Info on typeshed's stubs for `pyasn1` + +### Stub distribution name + +`types-pyasn1` + +### Number of lines + +1,321 (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 `pyasn1` when running stubtest in CI. + +### Pyright settings in CI: *not strict* + +All files in this stubs package are excluded from the stricter pyright settings in typeshed's CI. + +### Statistics on the annotations in typeshed's stubs for `pyasn1` + +- Parameters (excluding `self`, `cls`, `metacls` and `mcls`): + - Annotated parameters: 196 + - Unannotated parameters: 501 + - Explicit `Any` parameters: 0 + - Explicitly `Incomplete` (or partially `Incomplete`) parameters: 38 +- Returns: + - Annotated returns: 110 + - Unannotated returns: 412 + - Explicit `Any` returns: 0 + - Explicitly `Incomplete` (or partially `Incomplete`) returns: 6 +- Variables: + - Annotated variables: 207 + - Explicit `Any` variables: 0 + - Explicitly `Incomplete` (or partially `Incomplete`) variables: 1 +- Class definitions: + - Total class definitions: 164 + - Class definitions with `Any`: 0 + - Class definitions marked as at least partially `Incomplete`: 0 + +
+ ## Info on typeshed's stubs for `pyaudio` ### Stub distribution name