rumale 0.23.1 → 0.23.2

Sign up to get free protection for your applications and to get access to all the features.
data/.clang-format DELETED
@@ -1,149 +0,0 @@
1
- ---
2
- Language: Cpp
3
- # BasedOnStyle: LLVM
4
- AccessModifierOffset: -2
5
- AlignAfterOpenBracket: Align
6
- AlignConsecutiveMacros: false
7
- AlignConsecutiveAssignments: false
8
- AlignConsecutiveBitFields: false
9
- AlignConsecutiveDeclarations: false
10
- AlignEscapedNewlines: Right
11
- AlignOperands: Align
12
- AlignTrailingComments: true
13
- AllowAllArgumentsOnNextLine: true
14
- AllowAllConstructorInitializersOnNextLine: true
15
- AllowAllParametersOfDeclarationOnNextLine: true
16
- AllowShortEnumsOnASingleLine: true
17
- AllowShortBlocksOnASingleLine: Never
18
- AllowShortCaseLabelsOnASingleLine: false
19
- AllowShortFunctionsOnASingleLine: All
20
- AllowShortLambdasOnASingleLine: All
21
- AllowShortIfStatementsOnASingleLine: Never
22
- AllowShortLoopsOnASingleLine: false
23
- AlwaysBreakAfterDefinitionReturnType: None
24
- AlwaysBreakAfterReturnType: None
25
- AlwaysBreakBeforeMultilineStrings: false
26
- AlwaysBreakTemplateDeclarations: MultiLine
27
- BinPackArguments: true
28
- BinPackParameters: true
29
- BraceWrapping:
30
- AfterCaseLabel: false
31
- AfterClass: false
32
- AfterControlStatement: Never
33
- AfterEnum: false
34
- AfterFunction: false
35
- AfterNamespace: false
36
- AfterObjCDeclaration: false
37
- AfterStruct: false
38
- AfterUnion: false
39
- AfterExternBlock: false
40
- BeforeCatch: false
41
- BeforeElse: false
42
- BeforeLambdaBody: false
43
- BeforeWhile: false
44
- IndentBraces: false
45
- SplitEmptyFunction: true
46
- SplitEmptyRecord: true
47
- SplitEmptyNamespace: true
48
- BreakBeforeBinaryOperators: None
49
- BreakBeforeBraces: Attach
50
- BreakBeforeInheritanceComma: false
51
- BreakInheritanceList: BeforeColon
52
- BreakBeforeTernaryOperators: true
53
- BreakConstructorInitializersBeforeComma: false
54
- BreakConstructorInitializers: BeforeColon
55
- BreakAfterJavaFieldAnnotations: false
56
- BreakStringLiterals: true
57
- ColumnLimit: 128
58
- CommentPragmas: '^ IWYU pragma:'
59
- CompactNamespaces: false
60
- ConstructorInitializerAllOnOneLineOrOnePerLine: false
61
- ConstructorInitializerIndentWidth: 4
62
- ContinuationIndentWidth: 4
63
- Cpp11BracedListStyle: true
64
- DeriveLineEnding: true
65
- DerivePointerAlignment: false
66
- DisableFormat: false
67
- ExperimentalAutoDetectBinPacking: false
68
- FixNamespaceComments: true
69
- ForEachMacros:
70
- - foreach
71
- - Q_FOREACH
72
- - BOOST_FOREACH
73
- IncludeBlocks: Preserve
74
- IncludeCategories:
75
- - Regex: '^"(llvm|llvm-c|clang|clang-c)/'
76
- Priority: 2
77
- SortPriority: 0
78
- - Regex: '^(<|"(gtest|gmock|isl|json)/)'
79
- Priority: 3
80
- SortPriority: 0
81
- - Regex: '.*'
82
- Priority: 1
83
- SortPriority: 0
84
- IncludeIsMainRegex: '(Test)?$'
85
- IncludeIsMainSourceRegex: ''
86
- IndentCaseLabels: false
87
- IndentCaseBlocks: false
88
- IndentGotoLabels: true
89
- IndentPPDirectives: None
90
- IndentExternBlock: AfterExternBlock
91
- IndentWidth: 2
92
- IndentWrappedFunctionNames: false
93
- InsertTrailingCommas: None
94
- JavaScriptQuotes: Leave
95
- JavaScriptWrapImports: true
96
- KeepEmptyLinesAtTheStartOfBlocks: true
97
- MacroBlockBegin: ''
98
- MacroBlockEnd: ''
99
- MaxEmptyLinesToKeep: 1
100
- NamespaceIndentation: None
101
- ObjCBinPackProtocolList: Auto
102
- ObjCBlockIndentWidth: 2
103
- ObjCBreakBeforeNestedBlockParam: true
104
- ObjCSpaceAfterProperty: false
105
- ObjCSpaceBeforeProtocolList: true
106
- PenaltyBreakAssignment: 2
107
- PenaltyBreakBeforeFirstCallParameter: 19
108
- PenaltyBreakComment: 300
109
- PenaltyBreakFirstLessLess: 120
110
- PenaltyBreakString: 1000
111
- PenaltyBreakTemplateDeclaration: 10
112
- PenaltyExcessCharacter: 1000000
113
- PenaltyReturnTypeOnItsOwnLine: 60
114
- PointerAlignment: Left
115
- ReflowComments: true
116
- SortIncludes: true
117
- SortUsingDeclarations: true
118
- SpaceAfterCStyleCast: false
119
- SpaceAfterLogicalNot: false
120
- SpaceAfterTemplateKeyword: true
121
- SpaceBeforeAssignmentOperators: true
122
- SpaceBeforeCpp11BracedList: false
123
- SpaceBeforeCtorInitializerColon: true
124
- SpaceBeforeInheritanceColon: true
125
- SpaceBeforeParens: ControlStatements
126
- SpaceBeforeRangeBasedForLoopColon: true
127
- SpaceInEmptyBlock: false
128
- SpaceInEmptyParentheses: false
129
- SpacesBeforeTrailingComments: 1
130
- SpacesInAngles: false
131
- SpacesInConditionalStatement: false
132
- SpacesInContainerLiterals: true
133
- SpacesInCStyleCastParentheses: false
134
- SpacesInParentheses: false
135
- SpacesInSquareBrackets: false
136
- SpaceBeforeSquareBrackets: false
137
- Standard: Latest
138
- StatementMacros:
139
- - Q_UNUSED
140
- - QT_REQUIRE_VERSION
141
- TabWidth: 8
142
- UseCRLF: false
143
- UseTab: Never
144
- WhitespaceSensitiveMacros:
145
- - STRINGIZE
146
- - PP_STRINGIZE
147
- - BOOST_PP_STRINGIZE
148
- ...
149
-
data/.coveralls.yml DELETED
@@ -1 +0,0 @@
1
- service_name: github-ci
@@ -1,26 +0,0 @@
1
- name: build
2
-
3
- on: [push, pull_request]
4
-
5
- jobs:
6
- build:
7
- runs-on: ubuntu-latest
8
- strategy:
9
- fail-fast: false
10
- matrix:
11
- ruby: [ '2.5', '2.6', '2.7', '3.0' ]
12
- steps:
13
- - uses: actions/checkout@v2
14
- - name: Install BLAS and LAPACK
15
- run: sudo apt-get install -y libopenblas-dev liblapacke-dev
16
- - name: Set up Ruby ${{ matrix.ruby }}
17
- uses: actions/setup-ruby@v1
18
- with:
19
- ruby-version: ${{ matrix.ruby }}
20
- - name: Build and test with Rake
21
- env:
22
- LD_LIBRARY_PATH: '/usr/lib/x86_64-linux-gnu/'
23
- run: |
24
- gem install --no-document bundler
25
- bundle install --jobs 4 --retry 3
26
- bundle exec rake
@@ -1,30 +0,0 @@
1
- name: coverage
2
-
3
- on:
4
- push:
5
- branches: [ main ]
6
- pull_request:
7
- branches: [ main ]
8
-
9
- jobs:
10
- coverage:
11
- runs-on: ubuntu-20.04
12
- steps:
13
- - uses: actions/checkout@v2
14
- - name: Install BLAS and LAPACK
15
- run: sudo apt-get install -y libopenblas-dev liblapacke-dev
16
- - name: Set up Ruby 2.7
17
- uses: actions/setup-ruby@v1
18
- with:
19
- ruby-version: '2.7'
20
- - name: Build and test with Rake
21
- env:
22
- LD_LIBRARY_PATH: '/usr/lib/x86_64-linux-gnu/'
23
- run: |
24
- gem install bundler
25
- bundle install
26
- bundle exec rake
27
- - name: Coveralls GitHub Action
28
- uses: coverallsapp/github-action@v1.1.2
29
- with:
30
- github-token: ${{ secrets.GITHUB_TOKEN }}
data/.gitignore DELETED
@@ -1,23 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
10
-
11
- # rspec failure tracking
12
- .rspec_status
13
-
14
- *.swp
15
- *.bundle
16
- tags
17
- .DS_Store
18
- .ruby-version
19
- iterate.dat
20
- /spec/dump_dbl.t
21
- /spec/dump_int.t
22
- /spec/dump_mult_dbl.t
23
- /spec/dump_zb.t
data/.rspec DELETED
@@ -1,3 +0,0 @@
1
- --format documentation
2
- --color
3
- --require spec_helper
data/.rubocop.yml DELETED
@@ -1,93 +0,0 @@
1
- require:
2
- - rubocop-performance
3
- - rubocop-rake
4
- - rubocop-rspec
5
-
6
- AllCops:
7
- NewCops: enable
8
- TargetRubyVersion: 2.5
9
- DisplayCopNames: true
10
- DisplayStyleGuide: true
11
- Exclude:
12
- - 'ext/rumale/extconf.rb'
13
- - 'rumale.gemspec'
14
- - 'Rakefile'
15
- - 'Gemfile'
16
-
17
- Style/Documentation:
18
- Enabled: false
19
-
20
- Layout/LineLength:
21
- Max: 145
22
- IgnoredPatterns: ['(\A|\s)#']
23
-
24
- Lint/ConstantDefinitionInBlock:
25
- Enabled: false
26
-
27
- Lint/MissingSuper:
28
- Enabled: false
29
-
30
- Metrics/ModuleLength:
31
- Max: 200
32
-
33
- Metrics/ClassLength:
34
- Max: 200
35
-
36
- Metrics/MethodLength:
37
- Max: 40
38
-
39
- Metrics/AbcSize:
40
- Max: 60
41
-
42
- Metrics/CyclomaticComplexity:
43
- Max: 16
44
-
45
- Metrics/PerceivedComplexity:
46
- Max: 16
47
-
48
- Metrics/BlockLength:
49
- Max: 40
50
- Exclude:
51
- - 'spec/**/*'
52
-
53
- Metrics/ParameterLists:
54
- Max: 15
55
-
56
- Security/MarshalLoad:
57
- Enabled: false
58
-
59
- Naming/MethodParameterName:
60
- Enabled: false
61
-
62
- Naming/ConstantName:
63
- Enabled: false
64
-
65
- Style/FormatStringToken:
66
- Enabled: false
67
-
68
- Style/NumericLiterals:
69
- Enabled: false
70
-
71
- Style/StringConcatenation:
72
- Enabled: false
73
-
74
- RSpec/MultipleExpectations:
75
- Enabled: false
76
-
77
- RSpec/MultipleMemoizedHelpers:
78
- Max: 25
79
-
80
- RSpec/NestedGroups:
81
- Max: 4
82
-
83
- RSpec/ExampleLength:
84
- Max: 40
85
-
86
- RSpec/InstanceVariable:
87
- Enabled: false
88
-
89
- RSpec/LeakyConstantDeclaration:
90
- Enabled: false
91
-
92
- Performance/Sum:
93
- Enabled: false
data/Gemfile DELETED
@@ -1,17 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in rumale.gemspec
4
- gemspec
5
-
6
- gem 'mmh3', '>= 1.0'
7
- gem 'numo-linalg', '>= 0.1.4'
8
- gem 'parallel', '>= 1.17.0'
9
- gem 'rake', '~> 13.0'
10
- gem 'rake-compiler', '~> 1.0'
11
- gem 'rspec', '~> 3.0'
12
- gem 'rubocop', '~> 1.0'
13
- gem 'rubocop-performance', '~> 1.8'
14
- gem 'rubocop-rake', '~> 0.5'
15
- gem 'rubocop-rspec', '~> 2.0'
16
- gem 'simplecov', '~> 0.21'
17
- gem 'simplecov-lcov', '~> 0.8'
data/Rakefile DELETED
@@ -1,15 +0,0 @@
1
- require 'bundler/gem_tasks'
2
- require 'rspec/core/rake_task'
3
-
4
- RSpec::Core::RakeTask.new(:spec)
5
-
6
- require 'rake/extensiontask'
7
-
8
- task :build => :compile
9
-
10
- Rake::ExtensionTask.new('rumaleext') do |ext|
11
- ext.ext_dir = 'ext/rumale'
12
- ext.lib_dir = 'lib/rumale'
13
- end
14
-
15
- task :default => [:clobber, :compile, :spec]