Skip to content

Commit 5c9f111

Browse files
chore(internal): add sorbet config for SDK local development (#38)
1 parent d81ec22 commit 5c9f111

File tree

4 files changed

+17
-5
lines changed

4 files changed

+17
-5
lines changed

.gitignore

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
.prism.log
1+
*.gem
22
.idea/
3+
.prism.log
34
.ruby-lsp/
45
.yardoc/
5-
doc/
6-
sorbet/
76
Brewfile.lock.json
87
bin/tapioca
9-
*.gem
8+
doc/
9+
sorbet/*
10+
!/sorbet/config

.solargraph.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
max_files: 0
3+
include:
4+
- '*.gemspec'
5+
- '/test/openai/test_helper.rb'
6+
- 'Rakefile'
7+
- 'lib/**/*.rb'
8+
exclude:
9+
- 'rbi/**/*'

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ multitask(:steep) do
7070
end
7171

7272
multitask(:sorbet) do
73-
sh(*%w[srb typecheck -- .], chdir: "./rbi")
73+
sh(*%w[srb typecheck])
7474
end
7575

7676
file("sorbet/tapioca") do

sorbet/config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
--dir=rbi
2+
--ignore=test/

0 commit comments

Comments
 (0)