-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathSteepfile
More file actions
55 lines (48 loc) · 1.39 KB
/
Steepfile
File metadata and controls
55 lines (48 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Ruby = Steep::Diagnostic::Ruby
target :lib do
signature "sig"
check "lib"
ignore "lib/datadog/ci/configuration/settings.rb"
library "pathname"
library "json"
library "logger"
library "date"
library "minitest"
library "net-http"
library "zlib"
library "securerandom"
library "tmpdir"
library "fileutils"
library "socket"
library "optparse"
repo_path "vendor/rbs"
library "ddtrace"
library "gem"
library "open3"
library "rspec"
library "cucumber"
library "msgpack"
library "ci_queue"
library "knapsack_pro"
library "bundler"
library "selenium-webdriver"
library "capybara"
library "timecop"
library "webmock"
library "simplecov"
library "cuprite"
library "parallel_tests"
library "rails"
library "lograge"
library "semantic_logger"
configure_code_diagnostics(Ruby.default) do |hash|
# This check asks you to type every empty collection used in
# local variables with an inline type annotation (e.g. `ret = {} #: Hash[Symbol,untyped]`).
# This pollutes the code base, and demands seemingly unnecessary typing of internal variables.
# Ideally, these empty collections automatically assume a signature based on its usage inside its method.
# @see https://github.com/soutaro/steep/pull/1338
hash[Ruby::UnannotatedEmptyCollection] = :hint
hash[Ruby::FallbackAny] = :hint
hash[Ruby::UnreachableBranch] = :hint
end
end