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
The above code runs fine in Python 3.10 and produces
ClassB(kw_field='Hello World', normal_field=42)
Running pylint, however, produces errors:
************* Module demo
/tmp/demo.py:14:6: E1124: Argument 'kw_field' passed by position and keyword in constructor call (redundant-keyword-arg)
/tmp/demo.py:14:6: E1120: No value for argument 'normal_field' in constructor call (no-value-for-parameter)
Moved here from pylint-dev/pylint#7290 (comment).
Steps to reproduce
The above code runs fine in Python 3.10 and produces
Running pylint, however, produces errors:
python -c "from astroid import __pkginfo__; print(__pkginfo__.version)"
outputPython version is 3.10.7, pylint version is 2.15.4.
The text was updated successfully, but these errors were encountered: