audit: complain more about tabs

This commit is contained in:
Adam Vandenberg 2011-10-18 10:00:45 -07:00
parent 8848857cea
commit 0dbf06bbc8

View File

@ -102,9 +102,9 @@ def audit_formula_text name, text
problems << " * Use separate make calls." problems << " * Use separate make calls."
end end
if text =~ /^\t/ if text =~ /^[ ]*\t/
problems << " * Use spaces instead of tabs for indentation" problems << " * Use spaces instead of tabs for indentation"
end if strict? end
# Formula depends_on gfortran # Formula depends_on gfortran
if text =~ /^\s*depends_on\s*(\'|\")gfortran(\'|\").*/ if text =~ /^\s*depends_on\s*(\'|\")gfortran(\'|\").*/