mirror of
https://github.com/red-data-tools/YouPlot.git
synced 2025-05-07 23:51:12 +08:00
Merge 764fb977f3
into cd638f7ec1
This commit is contained in:
commit
e049163d1b
7
Gemfile
7
Gemfile
@ -5,6 +5,13 @@ source 'https://rubygems.org'
|
|||||||
# Specify your gem's dependencies in youplot.gemspec
|
# Specify your gem's dependencies in youplot.gemspec
|
||||||
gemspec
|
gemspec
|
||||||
|
|
||||||
|
group :development do
|
||||||
|
if RUBY_VERSION >= '3.0'
|
||||||
|
gem 'steep', require: false
|
||||||
|
gem 'typeprof'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
group :test do
|
group :test do
|
||||||
gem 'rake'
|
gem 'rake'
|
||||||
gem 'simplecov'
|
gem 'simplecov'
|
||||||
|
8
Steepfile
Normal file
8
Steepfile
Normal 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
|
7
sig/youplot/backends/processing.rbs
Normal file
7
sig/youplot/backends/processing.rbs
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
module YouPlot
|
||||||
|
module Backends
|
||||||
|
module Processing
|
||||||
|
def count_values: ([], ?tally: true, ?reverse: false) -> Array[Array[untyped]]
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in New Issue
Block a user