diff --git a/pylint/checkers/modified_iterating_checker.py b/pylint/checkers/modified_iterating_checker.py index 61471b9ee5..9f876b1abc 100644 --- a/pylint/checkers/modified_iterating_checker.py +++ b/pylint/checkers/modified_iterating_checker.py @@ -93,7 +93,7 @@ def _modified_iterating_check( self.add_message( msg_id, node=node, - args=(iter_obj._repr_name(),), + args=(iter_obj.repr_name(),), confidence=interfaces.INFERENCE, ) diff --git a/pyproject.toml b/pyproject.toml index e4b63c6600..5a80a32f1a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,7 +39,7 @@ dependencies = [ # Also upgrade requirements_test_min.txt. # Pinned to dev of second minor update to allow editable installs and fix primer issues, # see https://github.com/pylint-dev/astroid/issues/1341 - "astroid>=3.0.0a2,<=3.1.0-dev0", + "astroid>=3.0.0a4,<=3.1.0-dev0", "isort>=4.2.5,<6", "mccabe>=0.6,<0.8", "tomli>=1.1.0;python_version<'3.11'", diff --git a/requirements_test_min.txt b/requirements_test_min.txt index 777bdc3511..c15bc5b638 100644 --- a/requirements_test_min.txt +++ b/requirements_test_min.txt @@ -1,6 +1,6 @@ -e .[testutils,spelling] # astroid dependency is also defined in pyproject.toml -astroid==3.0.0a2 # Pinned to a specific version for tests +astroid==3.0.0a4 # Pinned to a specific version for tests typing-extensions~=4.6 py~=1.11.0 pytest~=7.3