Merge pull request #1761 from MikeMcQuaid/superenv-fix-stub
ENV/super: fix set_cpu_flags stub.
This commit is contained in:
commit
81b40f6564
@ -1,6 +1,6 @@
|
||||
# This configuration was generated by
|
||||
# `rubocop --auto-gen-config --exclude-limit 100`
|
||||
# on 2016-10-24 17:14:14 +0200 using RuboCop version 0.44.1.
|
||||
# on 2016-12-31 22:41:53 +0000 using RuboCop version 0.45.0.
|
||||
# The point is for the user to remove these configuration records
|
||||
# one by one as the offenses are removed from the code base.
|
||||
# Note that changes in the inspected code, or installation of new
|
||||
@ -59,31 +59,24 @@ Lint/ShadowedException:
|
||||
Exclude:
|
||||
- 'utils/fork.rb'
|
||||
|
||||
# Offense count: 14
|
||||
# Offense count: 13
|
||||
Metrics/BlockNesting:
|
||||
Max: 5
|
||||
|
||||
# Offense count: 19
|
||||
# Configuration parameters: CountComments.
|
||||
Metrics/ModuleLength:
|
||||
Max: 367
|
||||
Max: 363
|
||||
|
||||
# Offense count: 2
|
||||
# Offense count: 1
|
||||
# Configuration parameters: CountKeywordArgs.
|
||||
Metrics/ParameterLists:
|
||||
Max: 6
|
||||
|
||||
# Offense count: 8
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
||||
# SupportedStyles: percent_q, bare_percent
|
||||
Style/BarePercentLiterals:
|
||||
# Offense count: 1
|
||||
Style/AccessorMethodName:
|
||||
Exclude:
|
||||
- 'dev-cmd/audit.rb'
|
||||
- 'test/test_diagnostic.rb'
|
||||
- 'test/test_exceptions.rb'
|
||||
- 'test/test_patch.rb'
|
||||
- 'test/test_string.rb'
|
||||
- 'extend/ENV/super.rb'
|
||||
|
||||
# Offense count: 6
|
||||
Style/ClassVars:
|
||||
|
@ -328,7 +328,8 @@ module Superenv
|
||||
|
||||
# This method does nothing in superenv since there's no custom CFLAGS API
|
||||
# @private
|
||||
def set_cpu_flags; end
|
||||
def set_cpu_flags(*_args)
|
||||
end
|
||||
end
|
||||
|
||||
class Array
|
||||
|
Loading…
x
Reference in New Issue
Block a user