Skip to content

Commit 870e3ba

Browse files
committed
Ignore false positive for hardcoded "secret"
1 parent 1e0c854 commit 870e3ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/unit/test_io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ def test_normalize_storage_options_is_not_mappingproxy() -> None:
1616
ingestion passes these options into ``ProcessPoolExecutor`` initargs, so a mappingproxy breaks
1717
spawned workers with ``TypeError: cannot pickle 'mappingproxy' object``.
1818
"""
19-
storage_options = _normalize_storage_options(UPath("s3://bucket/key", key="access", secret="secret"))
19+
storage_options = _normalize_storage_options(UPath("s3://bucket/key", key="access", secret="secret")) # noqa: S106
2020

2121
assert not isinstance(storage_options, MappingProxyType)

0 commit comments

Comments
 (0)