From 2ab3f4d744682d6512e216f57e0fb7cecea04169 Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Wed, 18 Apr 2018 17:00:02 +1200 Subject: [PATCH] [Python] Suppress new pycodestyle warning E252 missing whitespace around parameter equals --- CHANGES.current | 4 ++++ Examples/Makefile.in | 2 +- Examples/test-suite/python/Makefile.in | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGES.current b/CHANGES.current index 72764c694..f15c99e90 100644 --- a/CHANGES.current +++ b/CHANGES.current @@ -7,6 +7,10 @@ the issue number to the end of the URL: https://github.com/swig/swig/issues/ Version 4.0.0 (in progress) =========================== +2018-04-18: olly + [Python] Suppress new pycodestyle warning: + E252 missing whitespace around parameter equals + 2018-04-07: goatshriek [Ruby] #1213 Fix ruby %alias directive for global C/C++ functions. diff --git a/Examples/Makefile.in b/Examples/Makefile.in index 81697c8b2..8218f5122 100644 --- a/Examples/Makefile.in +++ b/Examples/Makefile.in @@ -335,7 +335,7 @@ else endif PYCODESTYLE = @PYCODESTYLE@ -PYCODESTYLE_FLAGS = --ignore=E402,E501,E30,W291,W391 +PYCODESTYLE_FLAGS = --ignore=E252,E30,E402,E501,E731,W291,W391 # ---------------------------------------------------------------- # Build a C dynamically loadable module diff --git a/Examples/test-suite/python/Makefile.in b/Examples/test-suite/python/Makefile.in index 12844e311..e2aad7c8b 100644 --- a/Examples/test-suite/python/Makefile.in +++ b/Examples/test-suite/python/Makefile.in @@ -11,7 +11,7 @@ endif LANGUAGE = python PYTHON = $(PYBIN) PYCODESTYLE = @PYCODESTYLE@ -PYCODESTYLE_FLAGS = --ignore=E30,E402,E501,E731,W291,W391 +PYCODESTYLE_FLAGS = --ignore=E252,E30,E402,E501,E731,W291,W391 #*_runme.py for Python 2.x, *_runme3.py for Python 3.x PY2SCRIPTSUFFIX = _runme.py