This commit is contained in:
Eriko Sugiyama (eririn) 2025-04-30 14:21:07 +00:00 committed by GitHub
commit e049163d1b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 22 additions and 0 deletions

View File

@ -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'

8
Steepfile Normal file
View File

@ -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

View File

@ -0,0 +1,7 @@
module YouPlot
module Backends
module Processing
def count_values: ([], ?tally: true, ?reverse: false) -> Array[Array[untyped]]
end
end
end