lib/spoom/sorbet/sigils.rb in spoom-1.1.15 vs lib/spoom/sorbet/sigils.rb in spoom-1.1.16
- old
+ new
@@ -14,17 +14,20 @@
STRICTNESS_TRUE = "true"
STRICTNESS_STRICT = "strict"
STRICTNESS_STRONG = "strong"
STRICTNESS_INTERNAL = "__STDLIB_INTERNAL"
- VALID_STRICTNESS = T.let([
- STRICTNESS_IGNORE,
- STRICTNESS_FALSE,
- STRICTNESS_TRUE,
- STRICTNESS_STRICT,
- STRICTNESS_STRONG,
- STRICTNESS_INTERNAL,
- ].freeze, T::Array[String])
+ VALID_STRICTNESS = T.let(
+ [
+ STRICTNESS_IGNORE,
+ STRICTNESS_FALSE,
+ STRICTNESS_TRUE,
+ STRICTNESS_STRICT,
+ STRICTNESS_STRONG,
+ STRICTNESS_INTERNAL,
+ ].freeze,
+ T::Array[String],
+ )
SIGIL_REGEXP = T.let(/^#[\ t]*typed[\ t]*:[ \t]*(\w*)[ \t]*/.freeze, Regexp)
class << self
extend T::Sig