From 9db63cc2ce1610218712a25c97c2e7afb9b27e3c Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sun, 17 Jan 2021 15:32:20 +0100 Subject: [PATCH] Ignore binary file match derp --- package_linter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package_linter.py b/package_linter.py index 4cf5cfc..361a0f2 100755 --- a/package_linter.py +++ b/package_linter.py @@ -443,7 +443,7 @@ class App(TestSuite): @test() def remaining_replacebyyourapp(self): - if os.system("grep -qr 'REPLACEBYYOURAPP' %s 2>/dev/null" % self.path) == 0: + if os.system("grep -I -qr 'REPLACEBYYOURAPP' %s 2>/dev/null" % self.path) == 0: yield Warning("You should replace all occurences of REPLACEBYYOURAPP.") #######################################