Skip to content
Snippets Groups Projects
Commit 8157515b authored by Mike McQuaid's avatar Mike McQuaid
Browse files

audit: whitelist pyobject3 use of ARGV.

parent 1fecd418
No related branches found
No related tags found
No related merge requests found
......@@ -419,7 +419,9 @@ class FormulaAuditor
problem "No double 'without': Use `build.without? '#{$1}'` to check for \"--without-#{$1}\""
end
unless f.name == 'mongodb' # Mongo writes out a Ruby script that uses ARGV
# Mongo writes out a Ruby script that uses ARGV
# Python formulae need ARGV for Requirements
unless f.name == 'mongodb' || f.name == "pyobject3"
if line =~ /ARGV\.(?!(debug\?|verbose\?|value[\(\s]))/
problem "Use build instead of ARGV to check options"
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment