os/linux/kernel: enable strict typing

This commit is contained in:
Caleb Xu 2024-04-25 21:36:40 -04:00
parent f381b2cdf7
commit 100c7f36b1
No known key found for this signature in database
GPG Key ID: 47E6040D07B8407D

View File

@ -1,4 +1,4 @@
# typed: true # typed: strict
# frozen_string_literal: true # frozen_string_literal: true
module OS module OS
@ -14,6 +14,7 @@ module OS
Version.new "3.2" Version.new "3.2"
end end
sig { returns(T::Boolean) }
def below_minimum_version? def below_minimum_version?
OS.kernel_version < minimum_version OS.kernel_version < minimum_version
end end