[CRIU] [PATCH 3/6] p.haul: remove E225 linter warning from ignore list

Nikita Spiridonov nspiridonov at odin.com
Mon Nov 9 07:40:23 PST 2015


Remove E225 linter warning (missing whitespace around operator) from
ignore list.

Signed-off-by: Nikita Spiridonov <nspiridonov at odin.com>
---
 phaul/p_haul_docker.py |    2 +-
 test/flake8.cfg        |    3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/phaul/p_haul_docker.py b/phaul/p_haul_docker.py
index 8edc0c2..a78f6e9 100644
--- a/phaul/p_haul_docker.py
+++ b/phaul/p_haul_docker.py
@@ -113,7 +113,7 @@ class p_haul_type:
 		# Create docker runtime meta dir on dst side
 		with open(os.path.join(dir, "state.json")) as data_file:
 			data = json.load(data_file)
-		self.full_ctid=data["id"]
+		self.full_ctid = data["id"]
 
 		self.__load_ct_config(docker_dir)
 		os.makedirs(self._ct_run_meta_dir)
diff --git a/test/flake8.cfg b/test/flake8.cfg
index fff964a..28eb8fd 100644
--- a/test/flake8.cfg
+++ b/test/flake8.cfg
@@ -1,10 +1,9 @@
 [flake8]
 # W191 indentation contains tabs
 # E128 continuation line under-indented for visual indent
-# E225 missing whitespace around operator
 # E302 expected 2 blank lines, found 1
 # E501 line too long
 # E251 unexpected spaces around keyword / parameter equals
 # E301 expected 1 blank line, found 0
 # E101 indentation contains mixed spaces and tabs
-ignore = W191,E128,E225,E302,E501,E251,E301,E101
+ignore = W191,E128,E302,E501,E251,E301,E101
-- 
1.7.1



More information about the CRIU mailing list