diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a48d66a6..3541a559 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,7 +19,7 @@ repos: hooks: - id: shellcheck - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.11.1 + rev: v2.12.1 hooks: - id: pyproject-fmt - repo: https://github.com/astral-sh/ruff-pre-commit diff --git a/pyproject.toml b/pyproject.toml index 2c7b9b9c..549abf32 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,15 +37,6 @@ classifiers = [ "Typing :: Typed", ] -[tool.poetry.urls] -"Funding" = "https://github.com/sponsors/dry-python" - -[tool.poetry.plugins.pytest11] -returns = "returns.contrib.pytest.plugin" - -[tool.poetry.plugins.hypothesis] -_ = "returns.contrib.hypothesis._entrypoint:_setup_hook" - [tool.poetry.dependencies] python = "^3.10" @@ -54,6 +45,10 @@ pytest = { version = ">=8,<10", optional = true } hypothesis = { version = "^6.136", optional = true } mypy = { version = ">=1.12,<1.18", optional = true } +[tool.poetry.extras] +compatible-mypy = [ "mypy" ] +check-laws = [ "pytest", "hypothesis" ] + [tool.poetry.group.dev.dependencies] anyio = "^4.3" trio = ">=0.30,<0.33" @@ -84,9 +79,14 @@ furo = ">=2024.5,<2026.0" myst-parser = "^4.0" tomli = "^2.0" -[tool.poetry.extras] -compatible-mypy = [ "mypy" ] -check-laws = [ "pytest", "hypothesis" ] +[tool.poetry.plugins.hypothesis] +_ = "returns.contrib.hypothesis._entrypoint:_setup_hook" + +[tool.poetry.plugins.pytest11] +returns = "returns.contrib.pytest.plugin" + +[tool.poetry.urls] +"Funding" = "https://github.com/sponsors/dry-python" [tool.ruff] # Ruff config: https://docs.astral.sh/ruff/settings