forked from line/line-bot-sdk-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSteepfile
More file actions
23 lines (16 loc) · 683 Bytes
/
Steepfile
File metadata and controls
23 lines (16 loc) · 683 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
D = Steep::Diagnostic
target :lib do
signature "sig"
signature "sig-vendor"
check "lib"
library "net-http"
configure_code_diagnostics(D::Ruby.strict)
# configure_code_diagnostics(D::Ruby.all_error) # TODO: Enable all error checking
end
target :test do
unreferenced! # Skip type checking the `lib` code when types in `test` target is changed
signature "sig/test" # Put RBS files for tests under `sig/test`
check "test" # Type check Ruby scripts under `test`
configure_code_diagnostics(D::Ruby.lenient) # Weak type checking for test code
# library "pathname" # Standard libraries
end