Skip to content

Commit f32574d

Browse files
committed
Fix Style/FormatString
1 parent 91d8970 commit f32574d

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

.rubocop_todo.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,6 @@ Style/Documentation:
3535
- 'lib/symengine/iruby.rb'
3636
- 'lib/symengine/undef_function.rb'
3737

38-
# Offense count: 1
39-
# Configuration parameters: EnforcedStyle, SupportedStyles.
40-
# SupportedStyles: format, sprintf, percent
41-
Style/FormatString:
42-
Exclude:
43-
- 'ext/symengine/extconf.rb'
44-
4538
# Offense count: 1
4639
# Configuration parameters: EnforcedStyle, SupportedStyles.
4740
# SupportedStyles: snake_case, camelCase

ext/symengine/extconf.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
generator = '-G "NMake Makefiles"'
1313
end
1414

15-
exec 'cmake %s -DCMAKE_INSTALL_PREFIX=../../ -DRUBY_EXECUTABLE=%s %s ../../ ' % [generator, ruby_executable, ARGV.join(' ')]
15+
exec format('cmake %s -DCMAKE_INSTALL_PREFIX=../../ -DRUBY_EXECUTABLE=%s %s ../../ ', generator, ruby_executable, ARGV.join(' '))

0 commit comments

Comments
 (0)