We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents df46d62 + 346d68e commit 9cce341Copy full SHA for 9cce341
Library/Homebrew/dev-cmd/audit.rb
@@ -819,6 +819,11 @@ def audit_text
819
problem "Formulae should not depend on both OpenSSL and LibreSSL (even optionally)."
820
end
821
822
+ if text =~ /virtualenv_(create|install_with_resources)/ &&
823
+ text =~ /resource\s+['"]setuptools['"]\s+do/
824
+ problem "Formulae using virtualenvs do not need a `setuptools` resource."
825
+ end
826
+
827
return unless text.include?('require "language/go"') && !text.include?("go_resource")
828
problem "require \"language/go\" is unnecessary unless using `go_resource`s"
829
0 commit comments