Merge pull request #17152 from alebcay/kernel-strict-typing
os/linux/kernel: enable strict typing
This commit is contained in:
		
						commit
						4bc1cc57f3
					
				@ -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
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user