Skip to content
Draft
7 changes: 7 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ source 'https://rubygems.org'
# Specify your gem's dependencies in youplot.gemspec
gemspec

group :development do
if RUBY_VERSION >= '3.0'
gem 'steep', require: false
gem 'typeprof'
end
end

group :test do
gem 'rake'
gem 'simplecov'
Expand Down
8 changes: 8 additions & 0 deletions Steepfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
D = Steep::Diagnostic

target :lib do
signature "sig"
check "lib" # Directory name to check

configure_code_diagnostics(D::Ruby.silent) # `silent` diagnostics setting
end
7 changes: 7 additions & 0 deletions sig/youplot/backends/processing.rbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module YouPlot
module Backends
module Processing
def count_values: ([], ?tally: true, ?reverse: false) -> Array[Array[untyped]]
end
end
end
Loading