Skip to content

Commit f53283e

Browse files
Upgrade astroid to 3.0.0a4
We now need to use repr_name.
1 parent e5584d5 commit f53283e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pylint/checkers/modified_iterating_checker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def _modified_iterating_check(
9393
self.add_message(
9494
msg_id,
9595
node=node,
96-
args=(iter_obj._repr_name(),),
96+
args=(iter_obj.repr_name(),),
9797
confidence=interfaces.INFERENCE,
9898
)
9999

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ dependencies = [
3939
# Also upgrade requirements_test_min.txt.
4040
# Pinned to dev of second minor update to allow editable installs and fix primer issues,
4141
# see https://github.com/pylint-dev/astroid/issues/1341
42-
"astroid>=3.0.0a2,<=3.1.0-dev0",
42+
"astroid>=3.0.0a4,<=3.1.0-dev0",
4343
"isort>=4.2.5,<6",
4444
"mccabe>=0.6,<0.8",
4545
"tomli>=1.1.0;python_version<'3.11'",

requirements_test_min.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
-e .[testutils,spelling]
22
# astroid dependency is also defined in pyproject.toml
3-
astroid==3.0.0a2 # Pinned to a specific version for tests
3+
astroid==3.0.0a4 # Pinned to a specific version for tests
44
typing-extensions~=4.6
55
py~=1.11.0
66
pytest~=7.3

0 commit comments

Comments
 (0)