diff --git a/README.rst b/README.rst index f187fe2c27..0595d895d8 100644 --- a/README.rst +++ b/README.rst @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 5ed22d62e1..f6e187b51a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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'", diff --git a/requirements_test_min.txt b/requirements_test_min.txt index aa25e51e2e..1434bc711b 100644 --- a/requirements_test_min.txt +++ b/requirements_test_min.txt @@ -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 diff --git a/tests/functional/i/inconsistent/inconsistent_quotes_fstring.py b/tests/functional/i/inconsistent/inconsistent_quotes_fstring.py index dd6f9fbe12..e6e285341b 100644 --- a/tests/functional/i/inconsistent/inconsistent_quotes_fstring.py +++ b/tests/functional/i/inconsistent/inconsistent_quotes_fstring.py @@ -1,4 +1,4 @@ # pylint: disable=missing-module-docstring dictionary = {'0': 0} -f_string = f'{dictionary["0"]}' +F_STRING = f'{dictionary["0"]}' diff --git a/tests/functional/i/inconsistent/inconsistent_quotes_fstring_py312.py b/tests/functional/i/inconsistent/inconsistent_quotes_fstring_py312.py index 5e952af196..95a79a061c 100644 --- a/tests/functional/i/inconsistent/inconsistent_quotes_fstring_py312.py +++ b/tests/functional/i/inconsistent/inconsistent_quotes_fstring_py312.py @@ -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] diff --git a/tests/functional/i/inconsistent/inconsistent_quotes_fstring_py312_311.py b/tests/functional/i/inconsistent/inconsistent_quotes_fstring_py312_311.py index 5b53a19bb5..2c49ffc726 100644 --- a/tests/functional/i/inconsistent/inconsistent_quotes_fstring_py312_311.py +++ b/tests/functional/i/inconsistent/inconsistent_quotes_fstring_py312_311.py @@ -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"]}'