From 52f28f8553af234b93422e9b1bf896c4b3001ca1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 8 Jun 2026 21:30:05 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.15.14 → v0.15.16](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.14...v0.15.16) - [github.com/tox-dev/pyproject-fmt: v2.21.2 → v2.23.0](https://github.com/tox-dev/pyproject-fmt/compare/v2.21.2...v2.23.0) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 073415c07..a4c0e07b3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,7 +10,7 @@ repos: - id: end-of-file-fixer exclude: tests/testdata - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.15.14" + rev: "v0.15.16" hooks: - id: ruff-check args: ["--fix"] @@ -81,6 +81,6 @@ repos: - id: prettier args: [--prose-wrap=always, --print-width=88] - repo: https://github.com/tox-dev/pyproject-fmt - rev: "v2.21.2" + rev: "v2.23.0" hooks: - id: pyproject-fmt From c1a99cb513f49fa076b6886327abfd746a70f859 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 8 Jun 2026 21:30:41 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .pre-commit-config.yaml | 4 ++-- pyproject.toml | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a4c0e07b3..525d5968e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -80,7 +80,7 @@ repos: hooks: - id: prettier args: [--prose-wrap=always, --print-width=88] - - repo: https://github.com/tox-dev/pyproject-fmt - rev: "v2.23.0" + - repo: https://github.com/pytest-dev/pyproject-fmt + rev: "v2.12.1" hooks: - id: pyproject-fmt diff --git a/pyproject.toml b/pyproject.toml index c3a799067..e5e888795 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,8 +34,8 @@ dependencies = [ ] urls."Bug tracker" = "https://github.com/pylint-dev/astroid/issues" urls."Discord server" = "https://discord.gg/Egy6P8AMB5" -urls."Source Code" = "https://github.com/pylint-dev/astroid" urls.Docs = "https://pylint.readthedocs.io/projects/astroid/en/latest/" +urls."Source Code" = "https://github.com/pylint-dev/astroid" [tool.setuptools] dynamic.version = { attr = "astroid.__pkginfo__.__version__" } @@ -78,6 +78,12 @@ lint.unfixable = [ "RUF001" ] [tool.pyproject-fmt] max_supported_python = "3.14" +[tool.pytest] +ini_options.addopts = '-m "not acceptance"' +ini_options.python_files = [ "*test_*.py" ] +ini_options.testpaths = [ "tests" ] +ini_options.filterwarnings = "error" + [tool.mypy] python_version = "3.10" files = [ @@ -145,11 +151,5 @@ module = [ ] ignore_missing_imports = true -[tool.pytest] -ini_options.addopts = '-m "not acceptance"' -ini_options.python_files = [ "*test_*.py" ] -ini_options.testpaths = [ "tests" ] -ini_options.filterwarnings = "error" - [tool.aliases] test = "pytest"