From 2dfeea67e1f86da77872cd78d86ee05f1bcc9955 Mon Sep 17 00:00:00 2001 From: Jakob Stoklund Olesen Date: Tue, 23 Aug 2016 16:54:40 -0700 Subject: [PATCH] Add script for Python 3 compat checks. --- meta/check-py3k.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 meta/check-py3k.sh diff --git a/meta/check-py3k.sh b/meta/check-py3k.sh new file mode 100755 index 0000000000..19096339bf --- /dev/null +++ b/meta/check-py3k.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +# Check Python sources for Python 3 compatibility using pylint. +# +# Install pylint with 'pip install pylint'. +cd $(dirname "$0") +pylint --py3k --reports=no -- *.py cretonne isa