diff --git a/examples/example.csv b/examples/example.csv index b38f2d6a..de0bd491 100644 --- a/examples/example.csv +++ b/examples/example.csv @@ -5,6 +5,7 @@ Flask-Cors,types-Flask-Cors,https://github.com/corydolphin/flask-cors,PARTIAL,-, Flask-Migrate,types-Flask-Migrate,https://github.com/miguelgrinberg/Flask-Migrate,COMPLETE,-,130,UP_TO_DATE,UPLOADED,STRICT,86,0,24,0,0,0,0,0,7,0,0,3,0,0,ERROR_ON_MISSING_STUB,linux,1 Flask-SocketIO,types-Flask-SocketIO,https://github.com/miguelgrinberg/flask-socketio,COMPLETE,-,233,UP_TO_DATE,UPLOADED,NOT_STRICT,138,36,37,15,17,1,2,0,3,1,0,8,0,0,ERROR_ON_MISSING_STUB,linux,4 JACK-Client,types-JACK-Client,https://github.com/spatialaudio/jackclient-python,COMPLETE,-,311,UP_TO_DATE,UPLOADED,STRICT,107,0,152,0,0,0,0,2,46,0,0,15,0,0,ERROR_ON_MISSING_STUB,linux,0 +Jetson.GPIO,types-Jetson.GPIO,https://github.com/NVIDIA/jetson-gpio,COMPLETE,-,173,UP_TO_DATE,UPLOADED,STRICT,82,0,42,0,0,0,0,2,90,1,0,10,0,0,ERROR_ON_MISSING_STUB,linux,3 Markdown,types-Markdown,https://github.com/Python-Markdown/markdown,PARTIAL,-,714,UP_TO_DATE,UPLOADED,NOT_STRICT,263,30,204,2,0,0,15,3,220,15,0,104,0,0,MISSING_STUBS_IGNORED,linux,2 Pillow,types-Pillow,https://github.com/python-pillow/Pillow,COMPLETE,-,3266,OBSOLETE,UPLOADED,NOT_STRICT,777,584,588,319,55,2,7,5,766,5,305,226,3,1,ERROR_ON_MISSING_STUB,linux;win32,18 PyAutoGUI,types-PyAutoGUI,https://github.com/asweigart/pyautogui,COMPLETE,-,234,UP_TO_DATE,UPLOADED,STRICT,145,0,38,0,0,0,0,0,22,0,0,5,0,0,ERROR_ON_MISSING_STUB,linux,1 @@ -137,7 +138,7 @@ retry,types-retry,https://github.com/invl/retry,COMPLETE,-,28,UP_TO_DATE,UPLOADE s2clientprotocol,types-s2clientprotocol,https://github.com/Blizzard/s2client-proto,COMPLETE,Partially generated using [mypy-protobuf==3.6.0](https://github.com/nipunn1313/mypy-protobuf/tree/v3.6.0) and libprotoc 3.6.1 on [s2client-proto 5.0.12.91115.0](https://github.com/Blizzard/s2client-proto/tree/c04df4adbe274858a4eb8417175ee32ad02fd609),5029,UP_TO_DATE,UPLOADED,STRICT,856,0,676,0,0,0,0,0,1864,0,0,239,0,0,ERROR_ON_MISSING_STUB,linux,1 seaborn,types-seaborn,https://github.com/mwaskom/seaborn,COMPLETE,-,2587,UP_TO_DATE,UPLOADED,NOT_STRICT,1445,25,357,2,34,7,155,17,282,13,24,100,1,0,ERROR_ON_MISSING_STUB,linux,5 setuptools,types-setuptools,https://github.com/pypa/setuptools,COMPLETE,"If using `setuptools >= 71.1` *only* for `pkg_resources`, -you don't need `types-setuptools` since `pkg_resources` is now typed.",3410,UP_TO_DATE,UPLOADED,STRICT_ON_SOME_FILES,1244,442,984,192,44,13,3,5,665,4,241,183,0,0,ERROR_ON_MISSING_STUB,linux;win32,107 +you don't need `types-setuptools` since `pkg_resources` is now typed.",3410,OUT_OF_DATE,UPLOADED,STRICT_ON_SOME_FILES,1244,442,984,192,44,13,3,5,665,4,241,183,0,0,ERROR_ON_MISSING_STUB,linux;win32,107 shapely,types-shapely,https://github.com/shapely/shapely,COMPLETE,-,2595,UP_TO_DATE,UPLOADED,NOT_STRICT,1424,390,710,0,0,0,14,15,151,0,1,42,0,0,ERROR_ON_MISSING_STUB,linux,3 simplejson,types-simplejson,https://github.com/simplejson/simplejson,COMPLETE,-,277,UP_TO_DATE,UPLOADED,STRICT,180,0,24,0,0,0,46,6,49,7,0,6,0,0,ERROR_ON_MISSING_STUB,linux,11 singledispatch,types-singledispatch,https://github.com/jaraco/singledispatch,COMPLETE,-,27,UP_TO_DATE,UPLOADED,STRICT,16,0,12,0,0,0,7,0,3,1,0,2,0,0,ERROR_ON_MISSING_STUB,linux,0 diff --git a/examples/example.json b/examples/example.json index 57077dcc..44839d37 100644 --- a/examples/example.json +++ b/examples/example.json @@ -203,6 +203,40 @@ "classdefs_with_Incomplete": 0 } }, + { + "package_name": "Jetson.GPIO", + "stub_distribution_name": "types-Jetson.GPIO", + "upstream_url": "https://github.com/NVIDIA/jetson-gpio", + "completeness_level": "COMPLETE", + "extra_description": null, + "number_of_lines": 173, + "package_status": "UP_TO_DATE", + "upload_status": "UPLOADED", + "stubtest_settings": { + "strictness": "ERROR_ON_MISSING_STUB", + "platforms": [ + "linux" + ], + "allowlist_length": 3 + }, + "pyright_setting": "STRICT", + "annotation_stats": { + "annotated_parameters": 82, + "unannotated_parameters": 0, + "annotated_returns": 42, + "unannotated_returns": 0, + "explicit_Incomplete_parameters": 0, + "explicit_Incomplete_returns": 0, + "explicit_Any_parameters": 0, + "explicit_Any_returns": 2, + "annotated_variables": 90, + "explicit_Any_variables": 1, + "explicit_Incomplete_variables": 0, + "classdefs": 10, + "classdefs_with_Any": 0, + "classdefs_with_Incomplete": 0 + } + }, { "package_name": "Markdown", "stub_distribution_name": "types-Markdown", @@ -4682,7 +4716,7 @@ "completeness_level": "COMPLETE", "extra_description": "If using `setuptools >= 71.1` *only* for `pkg_resources`,\nyou don't need `types-setuptools` since `pkg_resources` is now typed.", "number_of_lines": 3410, - "package_status": "UP_TO_DATE", + "package_status": "OUT_OF_DATE", "upload_status": "UPLOADED", "stubtest_settings": { "strictness": "ERROR_ON_MISSING_STUB", diff --git a/examples/example.md b/examples/example.md index 25d3b067..8b61935c 100644 --- a/examples/example.md +++ b/examples/example.md @@ -340,6 +340,63 @@ All files in this stubs package are tested with the stricter pyright settings in --- +## Info on typeshed's stubs for `Jetson.GPIO` + +### Upstream repo URL + +[https://github.com/NVIDIA/jetson-gpio](https://github.com/NVIDIA/jetson-gpio) + +### Stub distribution name + +`types-Jetson.GPIO` + +### Number of lines + +173 (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 3 unique allowlist entries for `Jetson.GPIO` 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 `Jetson.GPIO` + +- Parameters (excluding `self`, `cls`, `metacls` and `mcls`): + - Annotated parameters: 82 + - Unannotated parameters: 0 + - Explicit `Any` parameters: 0 + - Explicitly `Incomplete` (or partially `Incomplete`) parameters: 0 +- Returns: + - Annotated returns: 42 + - Unannotated returns: 0 + - Explicit `Any` returns: 2 + - Explicitly `Incomplete` (or partially `Incomplete`) returns: 0 +- Variables: + - Annotated variables: 90 + - Explicit `Any` variables: 1 + - Explicitly `Incomplete` (or partially `Incomplete`) variables: 0 +- Class definitions: + - Total class definitions: 10 + - Class definitions with `Any`: 0 + - Class definitions marked as at least partially `Incomplete`: 0 + +--- + ## Info on typeshed's stubs for `Markdown` ### Upstream repo URL @@ -7840,9 +7897,9 @@ you don't need `types-setuptools` since `pkg_resources` is now typed. 3,410 (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*