You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changes
-------
* Replaces two `assert self._cert_path is not None` lines in
Credential with explicit if-raise guards, since `python -O`
strips asserts and bandit B101 flags them.
* Wraps the dispatched-header lookup in the test helper with
str() so mypy stops returning Any from the str-typed function.
* Adds `[mypy-cryptography.*] ignore_missing_imports = True` to
mypy.ini. The cryptography package doesn't ship stubs for the
pkcs12 / serialization namespace.
* Adds `# type: ignore[import-not-found]` to `import tomli` in
couchbase_analytics_version.py, matching the existing ignore on
`import tomli_w` two lines below. The pre-commit mypy hook runs
in an isolated env that doesn't include tomli.
0 commit comments