From dc6b844fa4a89b1e59fe73d3bbe01e5c4330c055 Mon Sep 17 00:00:00 2001 From: jkuhl-uni Date: Fri, 14 Jan 2022 21:12:08 +0100 Subject: [PATCH] flake8 compliance without E501of utils.py --- pyerrors/input/utils.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pyerrors/input/utils.py b/pyerrors/input/utils.py index a8dd026e..66b60f68 100644 --- a/pyerrors/input/utils.py +++ b/pyerrors/input/utils.py @@ -1,14 +1,15 @@ """Utilities for the input""" -def check_idl(idl,che): + +def check_idl(idl, che): missing = [] for c in che: - if not c in idl: + if c not in idl: missing.append(c) - #print missing such that it can directly be parsed to slurm terminal + # print missing such that it can directly be parsed to slurm terminal if not (len(missing) == 0): - print(len(missing),"configs missing") + print(len(missing), "configs missing") miss_str = str(missing[0]) for i in missing[1:]: - miss_str += ","+str(i) + miss_str += "," + str(i) print(miss_str)