From 401cb7ca729c724bd1f38d929fda55fd85b6928c Mon Sep 17 00:00:00 2001 From: Zhizhen He Date: Mon, 9 Nov 2026 20:06:40 +0800 Subject: [PATCH] Remove unused ceil_int helper --- kitty/utils.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/kitty/utils.py b/kitty/utils.py index ba6a59015..5826af919 100644 --- a/kitty/utils.py +++ b/kitty/utils.py @@ -2,7 +2,6 @@ # License: GPL v3 Copyright: 2016, Kovid Goyal import fcntl -import math import os import re import string @@ -153,10 +152,6 @@ def suppress_error_logging() -> Generator[None, None, None]: setattr(log_error, 'redirect', before) -def ceil_int(x: float) -> int: - return int(math.ceil(x)) - - def sanitize_title(x: str) -> str: return re.sub(r'\s+', ' ', re.sub(r'[\0-\x19\x80-\x9f]', '', x))