rubocops/text: fix long line.

This commit is contained in:
Mike McQuaid 2019-06-07 09:31:24 +01:00 committed by GitHub
parent 75bc30bfff
commit 11de7de49d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,8 +16,8 @@ module RuboCop
problem "Formulae should not depend on both OpenSSL and LibreSSL (even optionally)."
end
if depends_on?("veclibfort") || depends_on?("lapack")
problem "Formulae should use OpenBLAS as the default serial linear algebra library." if formula_tap == "homebrew-core"
if formula_tap == "homebrew-core" && (depends_on?("veclibfort") || depends_on?("lapack"))
problem "Formulae should use OpenBLAS as the default serial linear algebra library."
end
if method_called_ever?(body_node, :virtualenv_create) ||