enable a couple ruff docstring rules for consistency #1310
build_and_release.yml
on: push
Annotations
2 errors
build-and-release:
tests/test_generate_docstubs.py#L54
test_windows_only_docstring
assert False
+ where False = <built-in method startswith of str object at 0x55d6c7ddbc50>('"""\nThis module provides access to operating system functionality that is\nstandardized by the C Standard and the PO...ix interface). Refer to the library manual and\ncorresponding Unix manual entries for more information on calls.\n"""')
+ where <built-in method startswith of str object at 0x55d6c7ddbc50> = 'import sys\n\nif sys.platform == "win32":\n # Actually defined here and re-exported from os at runtime,\n # but...s.version_info >= (3, 13):\n from os import fchmod as fchmod, lchmod as lchmod\n\n environ: dict[str, str]\n'.startswith
+ where 'import sys\n\nif sys.platform == "win32":\n # Actually defined here and re-exported from os at runtime,\n # but...s.version_info >= (3, 13):\n from os import fchmod as fchmod, lchmod as lchmod\n\n environ: dict[str, str]\n' = read_module_text('nt.pyi')
|
build-and-release
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
docstubs
|
3.17 MB |
|
docstubs-linux
|
3.16 MB |
|
docstubs-linux-and-macos
|
3.16 MB |
|