[Piglit] [PATCH 7/7] cl.py: Hide pylint warnings

Dylan Baker baker.dylan.c at gmail.com
Mon Jan 12 00:22:32 PST 2015


Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 tests/cl.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/cl.py b/tests/cl.py
index 562123f..06301af 100644
--- a/tests/cl.py
+++ b/tests/cl.py
@@ -2,6 +2,11 @@
 # -*- coding: utf-8 -*-
 """All OpenCL tests that come with piglit, using default settings."""
 
+# Because these profiles put all of the names in the global scope and rely on
+# __all__ to hide private names there will be a lot errors from pylint about
+# invalid constant names, they're not really fixable, so just hide them.
+# pylint: disable=invalid-name
+
 from __future__ import division, absolute_import, print_function
 
 import os
-- 
2.2.1



More information about the Piglit mailing list