mirror of
https://github.com/red-data-tools/YouPlot.git
synced 2025-09-20 03:38:07 +08:00
Compare commits
5 Commits
v0.4.6
...
feat/intro
Author | SHA1 | Date | |
---|---|---|---|
![]() |
764fb977f3 | ||
![]() |
448c1e9079 | ||
![]() |
674daa84eb | ||
![]() |
3e2ab1258b | ||
![]() |
cd638f7ec1 |
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -1,5 +1,5 @@
|
|||||||
name: test
|
name: test
|
||||||
on: [push, pull_request]
|
on: [push, pull_request, workflow_dispatch]
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: ${{ matrix.os }} Ruby ${{ matrix.ruby }}
|
name: ${{ matrix.os }} Ruby ${{ matrix.ruby }}
|
||||||
|
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
|
Reference in New Issue
Block a user