From fd0e056356c9cf1d03510feb40c2fd21f4306712 Mon Sep 17 00:00:00 2001 From: Daniel Parks Date: Sat, 20 Jun 2026 15:39:51 -0700 Subject: [PATCH] =?UTF-8?q?Fix=20`ruff`=20lint:=20Don=E2=80=99t=20start=20?= =?UTF-8?q?property=20doc=20strings=20with=20=E2=80=9CGet=E2=80=9D.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yanki/cache/entry.py | 4 ++-- yanki/cli/server.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/yanki/cache/entry.py b/yanki/cache/entry.py index 2515116..2e28a9c 100644 --- a/yanki/cache/entry.py +++ b/yanki/cache/entry.py @@ -71,7 +71,7 @@ def needs_load(self) -> bool: @property def value(self) -> Any: - """Get the value from this entry or UNSET or INVALID.""" + """The value from this entry or UNSET or INVALID.""" return self._value def read_file(self) -> Any: @@ -357,7 +357,7 @@ def is_valid(self): @property def value(self) -> Any: - """Get the value from this entry or UNSET or INVALID.""" + """The value from this entry or UNSET or INVALID.""" if self._value is UNSET: return UNSET try: diff --git a/yanki/cli/server.py b/yanki/cli/server.py index 8c6b014..c6e3e0b 100644 --- a/yanki/cli/server.py +++ b/yanki/cli/server.py @@ -61,12 +61,12 @@ def bind_tuple(self) -> tuple[str, int]: @property def bind_address(self) -> str: - """Get the address to bind to from --bind.""" + """The address to bind to (from --bind).""" return self.bind_tuple[0] @property def bind_port(self) -> int: - """Get the port to bind to from --bind.""" + """The port to bind to (from --bind).""" return self.bind_tuple[1] def serve_forever(self, directory="."):