From e14fcb8a8aa35ba59207b1c1cadb5d9ba718972e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 9 Feb 2026 18:02: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/tox-dev/pyproject-fmt: v2.12.1 → v2.14.2](https://github.com/tox-dev/pyproject-fmt/compare/v2.12.1...v2.14.2) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3733d9d4..46b07fd7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,7 +24,7 @@ repos: |tests/.* )$ - repo: https://github.com/tox-dev/pyproject-fmt - rev: "v2.12.1" + rev: "v2.14.2" hooks: - id: pyproject-fmt - repo: https://github.com/codespell-project/codespell From 59a479fdc222413165e667bd1e7c3f833abc1184 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 9 Feb 2026 18:02:22 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pyproject.toml | 70 +++++++++---------- tests/prospector-profile-test/pyproject.toml | 5 +- .../pylint_configs/multiple/pyproject.toml | 4 +- .../pylint_configs/pyproject/pyproject.toml | 4 +- 4 files changed, 38 insertions(+), 45 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 21a55ec1..2b632a9d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,7 +35,6 @@ classifiers = [ "Topic :: Software Development :: Quality Assurance", ] dynamic = [ "dependencies" ] - optional-dependencies.with-bandit = [ "bandit" ] optional-dependencies.with-everything = [ "bandit", "mypy", "pyright", "pyroma", "ruff", "vulture" ] optional-dependencies.with-mypy = [ "mypy" ] @@ -57,48 +56,43 @@ include = [ "prospector/blender_combinations.yaml", "prospector/profiles/profiles/*.yaml", ] - -[tool.poetry.dependencies] -python = ">=3.10,<4.0" -pylint = ">=4.0" -pylint-celery = "0.3" -pylint-django = ">=2.6.1" -requirements-detector = ">=1.5.0" -PyYAML = "*" -mccabe = "^0.7.0" -pyflakes = ">=2.2.0" -pycodestyle = ">=2.9.0" -pep8-naming = ">=0.3.3,<=0.10.0" -pydocstyle = ">=2.0.0" -dodgy = "^0.2.1" -toml = "^0.10.2" -setoptconf-tmp = "^0.3.1" -packaging = "*" -bandit = { version = ">=1.5.1", optional = true } -vulture = { version = ">=1.5", optional = true } -mypy = { version = ">=0.600", optional = true } -pyright = { version = ">=1.1.3", optional = true } -pyroma = { version = ">=2.4", optional = true } -ruff = { version = "*", optional = true } - -[tool.poetry.group.dev.dependencies] -coveralls = "^3.3.1" -pytest = "^7.2.0" -pytest-benchmark = "^4.0.0" -pytest-cov = "^4.0.0" -tzlocal = "^4.2" -coverage = "^6.5" -pre-commit = "^4.2.0" -tox = "^3.27.1" -twine = "^6.2.0" -types-PyYAML = "^6.0.4" +dependencies.python = ">=3.10,<4.0" +dependencies.pylint = ">=4.0" +dependencies.pylint-celery = "0.3" +dependencies.pylint-django = ">=2.6.1" +dependencies.requirements-detector = ">=1.5.0" +dependencies.PyYAML = "*" +dependencies.mccabe = "^0.7.0" +dependencies.pyflakes = ">=2.2.0" +dependencies.pycodestyle = ">=2.9.0" +dependencies.pep8-naming = ">=0.3.3,<=0.10.0" +dependencies.pydocstyle = ">=2.0.0" +dependencies.dodgy = "^0.2.1" +dependencies.toml = "^0.10.2" +dependencies.setoptconf-tmp = "^0.3.1" +dependencies.packaging = "*" +dependencies.bandit = { version = ">=1.5.1", optional = true } +dependencies.vulture = { version = ">=1.5", optional = true } +dependencies.mypy = { version = ">=0.600", optional = true } +dependencies.pyright = { version = ">=1.1.3", optional = true } +dependencies.pyroma = { version = ">=2.4", optional = true } +dependencies.ruff = { version = "*", optional = true } +group.dev.dependencies.coveralls = "^3.3.1" +group.dev.dependencies.pytest = "^7.2.0" +group.dev.dependencies.pytest-benchmark = "^4.0.0" +group.dev.dependencies.pytest-cov = "^4.0.0" +group.dev.dependencies.tzlocal = "^4.2" +group.dev.dependencies.coverage = "^6.5" +group.dev.dependencies.pre-commit = "^4.2.0" +group.dev.dependencies.tox = "^3.27.1" +group.dev.dependencies.twine = "^6.2.0" +group.dev.dependencies.types-PyYAML = "^6.0.4" [tool.ruff] target-version = "py39" - line-length = 120 lint.extend-select = [ - "B", # flake8-bugbear + "B", # flake8-bugbear # pydocstyle "D213", "D214", diff --git a/tests/prospector-profile-test/pyproject.toml b/tests/prospector-profile-test/pyproject.toml index 0bbd85bc..e3f0275c 100644 --- a/tests/prospector-profile-test/pyproject.toml +++ b/tests/prospector-profile-test/pyproject.toml @@ -1,7 +1,6 @@ [project] name = "prospector-profile-test" version = "0.0.0" - description = "A package used to test the prospector external profile" classifiers = [ "Programming Language :: Python :: 3 :: Only", @@ -12,5 +11,5 @@ classifiers = [ "Programming Language :: Python :: 3.14", ] -[tool.setuptools.package-data] -prospector_profile_test = [ "*.yaml" ] +[tool.setuptools] +package-data.prospector_profile_test = [ "*.yaml" ] diff --git a/tests/tools/pylint/pylint_configs/multiple/pyproject.toml b/tests/tools/pylint/pylint_configs/multiple/pyproject.toml index bb70a50c..8149d58f 100644 --- a/tests/tools/pylint/pylint_configs/multiple/pyproject.toml +++ b/tests/tools/pylint/pylint_configs/multiple/pyproject.toml @@ -1,2 +1,2 @@ -[tool.pylint.'FORMAT'] -max-line-length = 40 +[tool.pylint] +"FORMAT".max-line-length = 40 diff --git a/tests/tools/pylint/pylint_configs/pyproject/pyproject.toml b/tests/tools/pylint/pylint_configs/pyproject/pyproject.toml index bb70a50c..8149d58f 100644 --- a/tests/tools/pylint/pylint_configs/pyproject/pyproject.toml +++ b/tests/tools/pylint/pylint_configs/pyproject/pyproject.toml @@ -1,2 +1,2 @@ -[tool.pylint.'FORMAT'] -max-line-length = 40 +[tool.pylint] +"FORMAT".max-line-length = 40