Douglas Schilling Landgraf has uploaded a new change for review.

Change subject: Makefile: lvm.py into PYFLAKES_BLACKLIST
......................................................................

Makefile: lvm.py into PYFLAKES_BLACKLIST

Due a bug https://bugs.launchpad.net/pyflakes/+bug/1112067

Change-Id: Id8cdeb0c28c1ee5dc3a18a7688ae60fe641f9a6c
Signed-off-by: Douglas Schilling Landgraf <[email protected]>
---
M Makefile.am
1 file changed, 6 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/00/12700/1

diff --git a/Makefile.am b/Makefile.am
index 75f360f..4d77f22 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -64,9 +64,14 @@
 
 PEP8_BLACKLIST = config.py,constants.py
 
+# For multiple files in blacklist use '(file1.py|file2.py)'
+# If no blacklist keep ' '
+PYFLAKES_BLACKLIST = 'lvm.py'
+
 check-local:
        find . -path './.git' -prune -type f -o \
-               -name '*.py' -o -name '*.py.in'  | xargs $(PYFLAKES)
+               -name '*.py' -o -name '*.py.in' | \
+                egrep -v $(PYFLAKES_BLACKLIST) | xargs $(PYFLAKES)
        $(PEP8) --exclude="$(PEP8_BLACKLIST)" --filename '*.py,*.py.in' \
                $(PEP8_WHITELIST)
        @if test -f .gitignore; then \


--
To view, visit http://gerrit.ovirt.org/12700
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id8cdeb0c28c1ee5dc3a18a7688ae60fe641f9a6c
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to