@@ -7,14 +7,10 @@ name = "returns"
77version = " 0.26.0"
88description = " Make your functions return something meaningful, typed, and safe!"
99license = " BSD-3-Clause"
10-
1110authors = [ " sobolevn <mail@sobolevn.me>" ]
12-
1311readme = " README.md"
14-
1512repository = " https://github.com/dry-python/returns"
1613homepage = " https://returns.readthedocs.io"
17-
1814keywords = [
1915 " functional programming" ,
2016 " fp" ,
@@ -26,7 +22,6 @@ keywords = [
2622 " mypy" ,
2723 " railway-oriented-programming" ,
2824]
29-
3025classifiers = [
3126 " Development Status :: 4 - Beta" ,
3227 " Intended Audience :: Developers" ,
@@ -36,63 +31,42 @@ classifiers = [
3631 " Topic :: Utilities" ,
3732 " Typing :: Typed" ,
3833]
39-
40- [tool .poetry .urls ]
41- "Funding" = " https://github.com/sponsors/dry-python"
42-
43- [tool .poetry .plugins .pytest11 ]
44- returns = " returns.contrib.pytest.plugin"
45-
46- [tool .poetry .plugins .hypothesis ]
47- _ = " returns.contrib.hypothesis._entrypoint:_setup_hook"
48-
49- [tool .poetry .dependencies ]
50- python = " ^3.10"
51-
52- typing-extensions = " >=4.0,<5.0"
53- pytest = { version = " >=8,<10" , optional = true }
54- hypothesis = { version = " ^6.136" , optional = true }
55- mypy = { version = " >=1.12,<1.18" , optional = true }
56-
57- [tool .poetry .group .dev .dependencies ]
58- anyio = " ^4.3"
59- trio = " >=0.30,<0.33"
60- attrs = " ^25.3"
61- httpx = " ^0.28"
62-
63- wemake-python-styleguide = " ^1.3"
64- codespell = " ^2.2"
65- slotscheck = " ^0.19"
66- ruff = " >=0.12,<0.15"
67-
68- pytest-cov = " >=6,<8"
69- pytest-randomly = " >=3.12,<5.0"
70- pytest-mypy-plugins = " ^3.1"
71- pytest-subtests = " >=0.14,<0.16"
72- pytest-shard = " ^0.1"
73- covdefaults = " ^2.3"
74-
75- [tool .poetry .group .docs ]
76- optional = true
77-
78- [tool .poetry .group .docs .dependencies ]
79-
80- sphinx = " ^8.1"
81- sphinx-autodoc-typehints = " >=2.3,<4.0"
82- sphinxcontrib-mermaid = " >=1,<3"
83- furo = " >=2024.5,<2026.0"
84- myst-parser = " ^4.0"
85- tomli = " ^2.0"
86-
87- [tool .poetry .extras ]
88- compatible-mypy = [ " mypy" ]
89- check-laws = [ " pytest" , " hypothesis" ]
34+ dependencies.python = " ^3.10"
35+ dependencies.typing-extensions = " >=4.0,<5.0"
36+ dependencies.pytest = { version = " >=8,<10" , optional = true }
37+ dependencies.hypothesis = { version = " ^6.136" , optional = true }
38+ dependencies.mypy = { version = " >=1.12,<1.18" , optional = true }
39+ extras.compatible-mypy = [ " mypy" ]
40+ extras.check-laws = [ " pytest" , " hypothesis" ]
41+ group.dev.dependencies.anyio = " ^4.3"
42+ group.dev.dependencies.trio = " >=0.30,<0.33"
43+ group.dev.dependencies.attrs = " ^25.3"
44+ group.dev.dependencies.httpx = " ^0.28"
45+ group.dev.dependencies.wemake-python-styleguide = " ^1.3"
46+ group.dev.dependencies.codespell = " ^2.2"
47+ group.dev.dependencies.slotscheck = " ^0.19"
48+ group.dev.dependencies.ruff = " >=0.12,<0.15"
49+ group.dev.dependencies.pytest-cov = " >=6,<8"
50+ group.dev.dependencies.pytest-randomly = " >=3.12,<5.0"
51+ group.dev.dependencies.pytest-mypy-plugins = " ^3.1"
52+ group.dev.dependencies.pytest-subtests = " >=0.14,<0.16"
53+ group.dev.dependencies.pytest-shard = " ^0.1"
54+ group.dev.dependencies.covdefaults = " ^2.3"
55+ group.docs.optional = true
56+ group.docs.dependencies.sphinx = " ^8.1"
57+ group.docs.dependencies.sphinx-autodoc-typehints = " >=2.3,<4.0"
58+ group.docs.dependencies.sphinxcontrib-mermaid = " >=1,<3"
59+ group.docs.dependencies.furo = " >=2024.5,<2026.0"
60+ group.docs.dependencies.myst-parser = " ^4.0"
61+ group.docs.dependencies.tomli = " ^2.0"
62+ plugins.hypothesis._ = " returns.contrib.hypothesis._entrypoint:_setup_hook"
63+ plugins.pytest11.returns = " returns.contrib.pytest.plugin"
64+ urls."Funding" = " https://github.com/sponsors/dry-python"
9065
9166[tool .ruff ]
9267# Ruff config: https://docs.astral.sh/ruff/settings
9368target-version = " py310"
9469line-length = 80
95-
9670preview = true
9771fix = true
9872format.quote-style = " single"
@@ -139,8 +113,8 @@ lint.select = [
139113 " YTT" , # flake8-2020
140114]
141115lint.ignore = [
142- " A005" , # allow to shadow stdlib and builtin module names
143- " COM812" , # trailing comma, conflicts with `ruff format`
116+ " A005" , # allow to shadow stdlib and builtin module names
117+ " COM812" , # trailing comma, conflicts with `ruff format`
144118 # Different doc rules that we don't really care about:
145119 " D100" ,
146120 " D104" ,
@@ -195,5 +169,5 @@ lint.pydocstyle.convention = "google"
195169strict-imports = true
196170require-subclass = true
197171require-superclass = true
198- exclude-modules = ' returns\.contrib\. '
199- exclude-classes = ' returns\.primitives\.exceptions:UnwrapFailedError'
172+ exclude-modules = " returns\\ .contrib\\ . "
173+ exclude-classes = " returns\\ .primitives\\ .exceptions:UnwrapFailedError"
0 commit comments