lib/tapioca/helpers/rbi_files_helper.rb in tapioca-0.10.1 vs lib/tapioca/helpers/rbi_files_helper.rb in tapioca-0.10.2
- old
+ new
@@ -40,11 +40,11 @@
sig do
params(
index: RBI::Index,
shim_rbi_dir: String,
- todo_rbi_file: String
+ todo_rbi_file: String,
).returns(T::Hash[String, T::Array[RBI::Node]])
end
def duplicated_nodes_from_index(index, shim_rbi_dir:, todo_rbi_file:)
duplicates = {}
say("Looking for duplicates... ")
@@ -78,11 +78,11 @@
command: String,
gem_dir: String,
dsl_dir: String,
auto_strictness: T::Boolean,
gems: T::Array[Gemfile::GemSpec],
- compilers: T::Enumerable[Class]
+ compilers: T::Enumerable[Class],
).void
end
def validate_rbi_files(command:, gem_dir:, dsl_dir:, auto_strictness:, gems: [], compilers: [])
error_url_base = Spoom::Sorbet::Errors::DEFAULT_ERROR_URL_BASE
@@ -90,10 +90,10 @@
res = sorbet(
"--no-config",
"--error-url-base=#{error_url_base}",
"--stop-after namer",
dsl_dir,
- gem_dir
+ gem_dir,
)
say(" Done", :green)
errors = Spoom::Sorbet::Errors::Parser.parse_string(res.err)