From 100c7f36b1351f3c91fafd06197113f2c4b54f07 Mon Sep 17 00:00:00 2001 From: Caleb Xu Date: Thu, 25 Apr 2024 21:36:40 -0400 Subject: [PATCH] os/linux/kernel: enable strict typing --- Library/Homebrew/os/linux/kernel.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/os/linux/kernel.rb b/Library/Homebrew/os/linux/kernel.rb index 0fe09b3952..99add3c083 100644 --- a/Library/Homebrew/os/linux/kernel.rb +++ b/Library/Homebrew/os/linux/kernel.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: strict # frozen_string_literal: true module OS @@ -14,6 +14,7 @@ module OS Version.new "3.2" end + sig { returns(T::Boolean) } def below_minimum_version? OS.kernel_version < minimum_version end