Skip to content

Commit

Permalink
Bump astroid to 3.3.1 (#9851)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtylerwalls authored Aug 7, 2024
1 parent c35e2e6 commit 466c671
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ mypy_, pyright_ / pylance or pyre_ (typing checks), bandit_ (security oriented c
isort_ (auto-formatting), autoflake_ (automated removal of unused imports or variables), pyupgrade_
(automated upgrade to newer python syntax) and pydocstringformatter_ (automated pep257).

.. _ruff: https://github.com/charliermarsh/ruff
.. _ruff: https://github.com/astral-sh/ruff
.. _flake8: https://github.com/PyCQA/flake8
.. _bandit: https://github.com/PyCQA/bandit
.. _mypy: https://github.com/python/mypy
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,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.2.4,<=3.3.0-dev0",
"astroid>=3.3.1,<=3.4.0-dev0",
"isort>=4.2.5,<6,!=5.13.0",
"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 @@
.[testutils,spelling]
# astroid dependency is also defined in pyproject.toml
astroid==3.2.4 # Pinned to a specific version for tests
astroid==3.3.1 # Pinned to a specific version for tests
typing-extensions~=4.12
py~=1.11.0
pytest~=8.3
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# pylint: disable=missing-module-docstring

dictionary = {'0': 0}
f_string = f'{dictionary["0"]}'
F_STRING = f'{dictionary["0"]}'
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

dictionary = {'0': 0}
# quotes are inconsistent when targetting Python 3.12 (use single quotes)
f_string = f'{dictionary["0"]}' # [inconsistent-quotes]
F_STRING = f'{dictionary["0"]}' # [inconsistent-quotes]
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

dictionary = {'0': 0}
# quotes are consistent when targetting 3.11 and earlier (cannot use single quotes here)
f_string = f'{dictionary["0"]}'
F_STRING = f'{dictionary["0"]}'

0 comments on commit 466c671

Please sign in to comment.