Skip to content
This repository was archived by the owner on Oct 21, 2022. It is now read-only.

Commit 098a55b

Browse files
committed
spec: Disable false-positive 'not-an-iterable' pylint warning
See pylint-dev/pylint#1435 for more details. Signed-off-by: Euan Harris <euan.harris@citrix.com>
1 parent 570654c commit 098a55b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

planex/spec.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ def __init__(self, path, check_package_name=True, defines=None):
106106
os.close(errcpy)
107107
except ValueError as exn:
108108
nullfh.seek(0, os.SEEK_SET)
109+
# https://github.com/PyCQA/pylint/issues/1435
110+
# pylint: disable=E1133
109111
for line in nullfh:
110112
line = line.strip()
111113
if not line.endswith(': No such file or directory'):

0 commit comments

Comments
 (0)