1- [tool . poetry ]
1+ [project ]
22name = " decoy"
33version = " 2.2.0"
44description = " Opinionated mocking library for Python"
5- authors = [" Michael Cousins <michael@cousins.io>" ]
6- license = " MIT"
75readme = " README.md"
8- repository = " https://github.com/mcous/decoy"
9- homepage = " https://michael.cousins.io/decoy/"
10- documentation = " https://michael.cousins.io/decoy/"
11-
6+ license = " MIT"
7+ requires-python = " >=3.7"
8+ authors = [
9+ {name = " Michael Cousins" , email = " michael@cousins.io>" },
10+ ]
1211classifiers = [
1312 " Development Status :: 5 - Production/Stable" ,
1413 " Intended Audience :: Developers" ,
@@ -18,62 +17,50 @@ classifiers = [
1817 " Typing :: Typed" ,
1918]
2019
21- [tool .poetry .urls ]
22- "Changelog" = " https://github.com/mcous/decoy/releases"
20+ [project .urls ]
21+ Homepage = " https://michael.cousins.io/decoy/"
22+ Documentation = " https://michael.cousins.io/decoy/"
23+ Repository = " https://github.com/mcous/decoy"
24+ Issues = " https://github.com/mcous/decoy/issues"
25+ Changelog = " https://github.com/mcous/decoy/releases"
2326
24- [tool . poetry . dependencies ]
25- python = " ^3.7 "
27+ [project . entry-points . "pytest11" ]
28+ "decoy" = " decoy.pytest_plugin "
2629
27- [tool . poetry . group . dev . dependencies ]
28- poethepoet = [
29- { version = " 0.19.0" , python = " < 3.8" } ,
30- { version = " 0.30.0" , python = " >= 3.8, < 3.9" } ,
31- { version = " 0.35.0" , python = " >= 3.9" } ,
30+ [dependency-groups ]
31+ dev = [
32+ " poethepoet (== 0.19.0) ; python_version < ' 3.8' " ,
33+ " poethepoet (== 0.30.0) ; python_version >= ' 3.8' and python_version < ' 3.9' " ,
34+ " poethepoet (== 0.35.0) ; python_version >= ' 3.9' " ,
3235]
3336
34- [tool .poetry .group .test .dependencies ]
35- coverage = [
36- { version = " 7.2.7" , extras = [
37- " toml" ,
38- ], python = " <3.8" },
39- { version = " 7.6.1" , extras = [
40- " toml" ,
41- ], python = " >=3.8, <3.9" },
42- { version = " 7.9.1" , extras = [
43- " toml" ,
44- ], python = " >=3.9" },
45- ]
46- mypy = [
47- { version = " 1.4.1" , python = " <3.8" },
48- { version = " 1.14.1" , python = " >=3.8, <3.9" },
49- { version = " 1.16.0" , python = " >=3.9" },
50- ]
51- pytest = [
52- { version = " 7.4.4" , python = " <3.8" },
53- { version = " 8.3.5" , python = " >=3.8, <3.9" },
54- { version = " 8.4.0" , python = " >=3.9" },
37+ test = [
38+ " coverage[toml] (==7.2.7) ; python_version < '3.8'" ,
39+ " coverage[toml] (==7.6.1) ; python_version >= '3.8' and python_version < '3.9'" ,
40+ " coverage[toml] (==7.9.1) ; python_version >= '3.9'" ,
41+ " mypy (==1.4.1) ; python_version < '3.8'" ,
42+ " mypy (==1.14.1) ; python_version >= '3.8' and python_version < '3.9'" ,
43+ " mypy (==1.16.0) ; python_version >= '3.9'" ,
44+ " pytest (==7.4.4) ; python_version < '3.8'" ,
45+ " pytest (==8.3.5) ; python_version >= '3.8' and python_version < '3.9'" ,
46+ " pytest (==8.4.0) ; python_version >= '3.9'" ,
47+ " pytest-asyncio (==0.21.2) ; python_version < '3.8'" ,
48+ " pytest-asyncio (==0.24.0) ; python_version >= '3.8' and python_version < '3.9'" ,
49+ " pytest-asyncio (==1.0.0) ; python_version >= '3.9'" ,
50+ " pytest-mypy-plugins (==2.0.0) ; python_version < '3.8'" ,
51+ " pytest-mypy-plugins (==3.1.2) ; python_version >= '3.8' and python_version < '3.9'" ,
52+ " pytest-mypy-plugins (==3.2.0) ; python_version >= '3.9'" ,
53+ " pytest-xdist (==3.5.0) ; python_version < '3.8'" ,
54+ " pytest-xdist (==3.6.1) ; python_version >= '3.8' and python_version < '3.9'" ,
55+ " pytest-xdist (==3.7.0) ; python_version >= '3.9'" ,
56+ " ruff (==0.14.7)"
5557]
56- pytest-asyncio = [
57- { version = " 0.21.2" , python = " <3.8" },
58- { version = " 0.24.0" , python = " >=3.8, <3.9" },
59- { version = " 1.0.0" , python = " >=3.9" },
60- ]
61- pytest-mypy-plugins = [
62- { version = " 2.0.0" , python = " <3.8" },
63- { version = " 3.1.2" , python = " >=3.8, <3.9" },
64- { version = " 3.2.0" , python = " >=3.9" },
65- ]
66- pytest-xdist = [
67- { version = " 3.5.0" , python = " <3.8" },
68- { version = " 3.6.1" , python = " >=3.8, <3.9" },
69- { version = " 3.7.0" , python = " >=3.9" },
70- ]
71- ruff = " 0.14.7"
7258
73- [tool .poetry .group .docs .dependencies ]
74- mkdocs = { version = " 1.6.1" , python = " >=3.10" }
75- mkdocs-material = { version = " 9.6.21" , python = " >=3.10" }
76- mkdocstrings = { version = " 0.30.1" , extras = [" python" ], python = " >=3.10" }
59+ docs = [
60+ " mkdocs (==1.6.1) ; python_version >= '3.10'" ,
61+ " mkdocs-material (==9.6.21) ; python_version >= '3.10'" ,
62+ " mkdocstrings[python] (==0.30.1) ; python_version >= '3.10'"
63+ ]
7764
7865[tool .poe .tasks ]
7966all = [
@@ -100,9 +87,6 @@ check-ci = ["check", "lint", "format-check"]
10087test-ci = [" test-once" , " coverage-xml" ]
10188build-ci = [" docs-build" , " build" ]
10289
103- [tool .poetry .plugins ."pytest11" ]
104- "decoy" = " decoy.pytest_plugin"
105-
10690[tool .pytest .ini_options ]
10791addopts = " --color=yes --mypy-ini-file=tests/typing/mypy.ini --mypy-only-local-stub"
10892asyncio_mode = " auto"
0 commit comments