From db2299b2126a5ac1dd500751524bc380d4f950bf Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Wed, 6 Aug 2025 21:08:39 +0200 Subject: [PATCH] Apply ruff/flake8-pyi rule PYI063 PYI063 Use PEP 570 syntax for positional-only parameters --- src/truststore/_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/truststore/_api.py b/src/truststore/_api.py index 189c393..98beef1 100644 --- a/src/truststore/_api.py +++ b/src/truststore/_api.py @@ -180,8 +180,8 @@ def set_alpn_protocols(self, alpn_protocols: typing.Iterable[str]) -> None: def set_npn_protocols(self, npn_protocols: typing.Iterable[str]) -> None: return self._ctx.set_npn_protocols(npn_protocols) - def set_ciphers(self, __cipherlist: str) -> None: - return self._ctx.set_ciphers(__cipherlist) + def set_ciphers(self, cipherlist: str, /) -> None: + return self._ctx.set_ciphers(cipherlist) def get_ciphers(self) -> typing.Any: return self._ctx.get_ciphers()