Skip to content

Commit

Permalink
Upgrade astroid to 3.0.0a4
Browse files Browse the repository at this point in the history
We now need to use repr_name.
  • Loading branch information
Pierre-Sassoulas committed Jun 7, 2023
1 parent e5584d5 commit f53283e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pylint/checkers/modified_iterating_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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'",
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_min.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit f53283e

Please sign in to comment.