You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
************* Module t
~/tmp/t.py:6:0: W1501: "2" is not a valid mode for open. (bad-open-mode)
Exception on node <Call l.6 at 0x7fcce79d8190>in file '~/tmp/t.py'
Traceback (most recent call last):
File "~/.pyenv/versions/3.9.10/lib/python3.9/site-packages/pylint/utils/ast_walker.py", line 72, in walk
callback(astroid)
File "~/.pyenv/versions/3.9.10/lib/python3.9/site-packages/pylint/checkers/stdlib.py", line 534, in visit_call
self._check_open_encoded(node, inferred.root().name)
File "~/.pyenv/versions/3.9.10/lib/python3.9/site-packages/pylint/checkers/stdlib.py", line 633, in _check_open_encoded
and "b" not in mode_arg.value
TypeError: argument of type'int' is not iterable
~/tmp/t.py:1:0: F0001: Fatal error while checking '~/tmp/t.py'. Please open an issue in our bug tracker so we address this. There is a pre-filled template that you can use in'~/.cache/pylint/pylint-crash-2022-04-20-11.txt'. (fatal)
---------------------------------------------------------------------
Your code has been rated at 0.00/10 (previous run: -10.00/10, +10.00)
Bug description
Command used
Pylint output
Expected behavior
No exceptions should be thrown
Pylint version
The text was updated successfully, but these errors were encountered: