From d00000e4caca1753276fa9adf83daf2ac8edde56 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 11 Aug 2024 11:45:45 +0000 Subject: [PATCH 01/29] Bump piped from `7f3b3fa` to `b4b1a5d` Bumps [piped](https://github.com/FasterSpeeding/Piped) from `7f3b3fa` to `b4b1a5d`. - [Release notes](https://github.com/FasterSpeeding/Piped/releases) - [Commits](https://github.com/FasterSpeeding/Piped/compare/7f3b3fafa0829b4a970af78cda57d370f06f19e7...b4b1a5decd88b3def8f70a69208bf547c22a97b8) --- updated-dependencies: - dependency-name: piped dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- piped | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piped b/piped index 7f3b3faf..b4b1a5de 160000 --- a/piped +++ b/piped @@ -1 +1 @@ -Subproject commit 7f3b3fafa0829b4a970af78cda57d370f06f19e7 +Subproject commit b4b1a5decd88b3def8f70a69208bf547c22a97b8 From 6fb6d8b3eccf4178a7906bf454a801045813923f Mon Sep 17 00:00:00 2001 From: "always-on-duty[bot]" <120557446+always-on-duty[bot]@users.noreply.github.com> Date: Sun, 11 Aug 2024 11:46:18 +0000 Subject: [PATCH 02/29] Resync piped --- .github/workflows/freeze-for-pr.yml | 2 +- .github/workflows/py-test.yml | 2 +- .github/workflows/reformat.yml | 2 +- .github/workflows/resync-piped.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/freeze-for-pr.yml b/.github/workflows/freeze-for-pr.yml index a02521ad..6dc1d655 100644 --- a/.github/workflows/freeze-for-pr.yml +++ b/.github/workflows/freeze-for-pr.yml @@ -32,7 +32,7 @@ jobs: - name: Upgrade dependency locks run: python -m nox -s freeze-locks bot-package-diff - - uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b + - uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a with: name: gogo.patch path: gogo.patch diff --git a/.github/workflows/py-test.yml b/.github/workflows/py-test.yml index aa9993a2..2baeab12 100644 --- a/.github/workflows/py-test.yml +++ b/.github/workflows/py-test.yml @@ -77,7 +77,7 @@ jobs: coverageLocations: .coverage.xml:coverage.py - name: Archive coverage - uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b + uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a with: name: coverage path: ./coverage_html diff --git a/.github/workflows/reformat.yml b/.github/workflows/reformat.yml index 4eecd311..86cd2fed 100644 --- a/.github/workflows/reformat.yml +++ b/.github/workflows/reformat.yml @@ -31,7 +31,7 @@ jobs: - name: Reformat run: python -m nox -s reformat bot-package-diff - - uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b + - uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a with: name: gogo.patch path: gogo.patch diff --git a/.github/workflows/resync-piped.yml b/.github/workflows/resync-piped.yml index e92ac412..f1d0b975 100644 --- a/.github/workflows/resync-piped.yml +++ b/.github/workflows/resync-piped.yml @@ -32,7 +32,7 @@ jobs: - name: Resync Piped run: python -m nox -s copy-piped bot-package-diff - - uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b + - uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a with: name: gogo.patch path: gogo.patch From 669a4577a4d54d24aac2c0492f22ba8811b3257f Mon Sep 17 00:00:00 2001 From: "always-on-duty[bot]" <120557446+always-on-duty[bot]@users.noreply.github.com> Date: Sun, 11 Aug 2024 11:46:29 +0000 Subject: [PATCH 03/29] Freeze PR dependency changes --- dev-requirements/tests.txt | 259 +++++++++++++---------- dev-requirements/type-checking.txt | 327 ++++++++++++++++------------- 2 files changed, 328 insertions(+), 258 deletions(-) diff --git a/dev-requirements/tests.txt b/dev-requirements/tests.txt index d4e4f51b..65322043 100644 --- a/dev-requirements/tests.txt +++ b/dev-requirements/tests.txt @@ -7,118 +7,153 @@ anyio==4.4.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:5aadc6a1bbb7cdb0bede386cac5e2940f5e2ff3aa20277e991cf028e0585ce94 \ --hash=sha256:c1b2d8f46a8a812513012e1107cb0e68c17159a7a594208005a57dc776e1bdc7 -attrs==23.2.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ - --hash=sha256:935dc3b529c262f6cf76e50877d35a4bd3c1de194fd41f47a2b7ae8f19971f30 \ - --hash=sha256:99b87a485a5820b23b879f04c2305b44b951b502fd64be915879d77a7e8fc6f1 -cffi==1.16.0 ; os_name == "nt" and implementation_name != "pypy" and python_full_version >= "3.9.0" and python_version < "3.13" \ - --hash=sha256:0c9ef6ff37e974b73c25eecc13952c55bceed9112be2d9d938ded8e856138bcc \ - --hash=sha256:131fd094d1065b19540c3d72594260f118b231090295d8c34e19a7bbcf2e860a \ - --hash=sha256:1b8ebc27c014c59692bb2664c7d13ce7a6e9a629be20e54e7271fa696ff2b417 \ - --hash=sha256:2c56b361916f390cd758a57f2e16233eb4f64bcbeee88a4881ea90fca14dc6ab \ - --hash=sha256:2d92b25dbf6cae33f65005baf472d2c245c050b1ce709cc4588cdcdd5495b520 \ - --hash=sha256:31d13b0f99e0836b7ff893d37af07366ebc90b678b6664c955b54561fc36ef36 \ - --hash=sha256:32c68ef735dbe5857c810328cb2481e24722a59a2003018885514d4c09af9743 \ - --hash=sha256:3686dffb02459559c74dd3d81748269ffb0eb027c39a6fc99502de37d501faa8 \ - --hash=sha256:582215a0e9adbe0e379761260553ba11c58943e4bbe9c36430c4ca6ac74b15ed \ - --hash=sha256:5b50bf3f55561dac5438f8e70bfcdfd74543fd60df5fa5f62d94e5867deca684 \ - --hash=sha256:5bf44d66cdf9e893637896c7faa22298baebcd18d1ddb6d2626a6e39793a1d56 \ - --hash=sha256:6602bc8dc6f3a9e02b6c22c4fc1e47aa50f8f8e6d3f78a5e16ac33ef5fefa324 \ - --hash=sha256:673739cb539f8cdaa07d92d02efa93c9ccf87e345b9a0b556e3ecc666718468d \ - --hash=sha256:68678abf380b42ce21a5f2abde8efee05c114c2fdb2e9eef2efdb0257fba1235 \ - --hash=sha256:68e7c44931cc171c54ccb702482e9fc723192e88d25a0e133edd7aff8fcd1f6e \ - --hash=sha256:6b3d6606d369fc1da4fd8c357d026317fbb9c9b75d36dc16e90e84c26854b088 \ - --hash=sha256:748dcd1e3d3d7cd5443ef03ce8685043294ad6bd7c02a38d1bd367cfd968e000 \ - --hash=sha256:7651c50c8c5ef7bdb41108b7b8c5a83013bfaa8a935590c5d74627c047a583c7 \ - --hash=sha256:7b78010e7b97fef4bee1e896df8a4bbb6712b7f05b7ef630f9d1da00f6444d2e \ - --hash=sha256:7e61e3e4fa664a8588aa25c883eab612a188c725755afff6289454d6362b9673 \ - --hash=sha256:80876338e19c951fdfed6198e70bc88f1c9758b94578d5a7c4c91a87af3cf31c \ - --hash=sha256:8895613bcc094d4a1b2dbe179d88d7fb4a15cee43c052e8885783fac397d91fe \ - --hash=sha256:88e2b3c14bdb32e440be531ade29d3c50a1a59cd4e51b1dd8b0865c54ea5d2e2 \ - --hash=sha256:8f8e709127c6c77446a8c0a8c8bf3c8ee706a06cd44b1e827c3e6a2ee6b8c098 \ - --hash=sha256:9cb4a35b3642fc5c005a6755a5d17c6c8b6bcb6981baf81cea8bfbc8903e8ba8 \ - --hash=sha256:9f90389693731ff1f659e55c7d1640e2ec43ff725cc61b04b2f9c6d8d017df6a \ - --hash=sha256:a09582f178759ee8128d9270cd1344154fd473bb77d94ce0aeb2a93ebf0feaf0 \ - --hash=sha256:a6a14b17d7e17fa0d207ac08642c8820f84f25ce17a442fd15e27ea18d67c59b \ - --hash=sha256:a72e8961a86d19bdb45851d8f1f08b041ea37d2bd8d4fd19903bc3083d80c896 \ - --hash=sha256:abd808f9c129ba2beda4cfc53bde801e5bcf9d6e0f22f095e45327c038bfe68e \ - --hash=sha256:ac0f5edd2360eea2f1daa9e26a41db02dd4b0451b48f7c318e217ee092a213e9 \ - --hash=sha256:b29ebffcf550f9da55bec9e02ad430c992a87e5f512cd63388abb76f1036d8d2 \ - --hash=sha256:b2ca4e77f9f47c55c194982e10f058db063937845bb2b7a86c84a6cfe0aefa8b \ - --hash=sha256:b7be2d771cdba2942e13215c4e340bfd76398e9227ad10402a8767ab1865d2e6 \ - --hash=sha256:b84834d0cf97e7d27dd5b7f3aca7b6e9263c56308ab9dc8aae9784abb774d404 \ - --hash=sha256:b86851a328eedc692acf81fb05444bdf1891747c25af7529e39ddafaf68a4f3f \ - --hash=sha256:bcb3ef43e58665bbda2fb198698fcae6776483e0c4a631aa5647806c25e02cc0 \ - --hash=sha256:c0f31130ebc2d37cdd8e44605fb5fa7ad59049298b3f745c74fa74c62fbfcfc4 \ - --hash=sha256:c6a164aa47843fb1b01e941d385aab7215563bb8816d80ff3a363a9f8448a8dc \ - --hash=sha256:d8a9d3ebe49f084ad71f9269834ceccbf398253c9fac910c4fd7053ff1386936 \ - --hash=sha256:db8e577c19c0fda0beb7e0d4e09e0ba74b1e4c092e0e40bfa12fe05b6f6d75ba \ - --hash=sha256:dc9b18bf40cc75f66f40a7379f6a9513244fe33c0e8aa72e2d56b0196a7ef872 \ - --hash=sha256:e09f3ff613345df5e8c3667da1d918f9149bd623cd9070c983c013792a9a62eb \ - --hash=sha256:e4108df7fe9b707191e55f33efbcb2d81928e10cea45527879a4749cbe472614 \ - --hash=sha256:e6024675e67af929088fda399b2094574609396b1decb609c55fa58b028a32a1 \ - --hash=sha256:e70f54f1796669ef691ca07d046cd81a29cb4deb1e5f942003f401c0c4a2695d \ - --hash=sha256:e715596e683d2ce000574bae5d07bd522c781a822866c20495e52520564f0969 \ - --hash=sha256:e760191dd42581e023a68b758769e2da259b5d52e3103c6060ddc02c9edb8d7b \ - --hash=sha256:ed86a35631f7bfbb28e108dd96773b9d5a6ce4811cf6ea468bb6a359b256b1e4 \ - --hash=sha256:ee07e47c12890ef248766a6e55bd38ebfb2bb8edd4142d56db91b21ea68b7627 \ - --hash=sha256:fa3a0128b152627161ce47201262d3140edb5a5c3da88d73a1b790a959126956 \ - --hash=sha256:fcc8eb6d5902bb1cf6dc4f187ee3ea80a1eba0a89aba40a5cb20a5087d961357 +attrs==24.2.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ + --hash=sha256:5cfb1b9148b5b086569baec03f20d7b6bf3bcacc9a42bebf87ffaaca362f6346 \ + --hash=sha256:81921eb96de3191c8258c199618104dd27ac608d9366f5e35d011eae1867ede2 +cffi==1.17.0 ; os_name == "nt" and implementation_name != "pypy" and python_full_version >= "3.9.0" and python_version < "3.13" \ + --hash=sha256:011aff3524d578a9412c8b3cfaa50f2c0bd78e03eb7af7aa5e0df59b158efb2f \ + --hash=sha256:0a048d4f6630113e54bb4b77e315e1ba32a5a31512c31a273807d0027a7e69ab \ + --hash=sha256:0bb15e7acf8ab35ca8b24b90af52c8b391690ef5c4aec3d31f38f0d37d2cc499 \ + --hash=sha256:0d46ee4764b88b91f16661a8befc6bfb24806d885e27436fdc292ed7e6f6d058 \ + --hash=sha256:0e60821d312f99d3e1569202518dddf10ae547e799d75aef3bca3a2d9e8ee693 \ + --hash=sha256:0fdacad9e0d9fc23e519efd5ea24a70348305e8d7d85ecbb1a5fa66dc834e7fb \ + --hash=sha256:14b9cbc8f7ac98a739558eb86fabc283d4d564dafed50216e7f7ee62d0d25377 \ + --hash=sha256:17c6d6d3260c7f2d94f657e6872591fe8733872a86ed1345bda872cfc8c74885 \ + --hash=sha256:1a2ddbac59dc3716bc79f27906c010406155031a1c801410f1bafff17ea304d2 \ + --hash=sha256:2404f3de742f47cb62d023f0ba7c5a916c9c653d5b368cc966382ae4e57da401 \ + --hash=sha256:24658baf6224d8f280e827f0a50c46ad819ec8ba380a42448e24459daf809cf4 \ + --hash=sha256:24aa705a5f5bd3a8bcfa4d123f03413de5d86e497435693b638cbffb7d5d8a1b \ + --hash=sha256:2770bb0d5e3cc0e31e7318db06efcbcdb7b31bcb1a70086d3177692a02256f59 \ + --hash=sha256:331ad15c39c9fe9186ceaf87203a9ecf5ae0ba2538c9e898e3a6967e8ad3db6f \ + --hash=sha256:3aa9d43b02a0c681f0bfbc12d476d47b2b2b6a3f9287f11ee42989a268a1833c \ + --hash=sha256:41f4915e09218744d8bae14759f983e466ab69b178de38066f7579892ff2a555 \ + --hash=sha256:4304d4416ff032ed50ad6bb87416d802e67139e31c0bde4628f36a47a3164bfa \ + --hash=sha256:435a22d00ec7d7ea533db494da8581b05977f9c37338c80bc86314bec2619424 \ + --hash=sha256:45f7cd36186db767d803b1473b3c659d57a23b5fa491ad83c6d40f2af58e4dbb \ + --hash=sha256:48b389b1fd5144603d61d752afd7167dfd205973a43151ae5045b35793232aa2 \ + --hash=sha256:4e67d26532bfd8b7f7c05d5a766d6f437b362c1bf203a3a5ce3593a645e870b8 \ + --hash=sha256:516a405f174fd3b88829eabfe4bb296ac602d6a0f68e0d64d5ac9456194a5b7e \ + --hash=sha256:5ba5c243f4004c750836f81606a9fcb7841f8874ad8f3bf204ff5e56332b72b9 \ + --hash=sha256:5bdc0f1f610d067c70aa3737ed06e2726fd9d6f7bfee4a351f4c40b6831f4e82 \ + --hash=sha256:6107e445faf057c118d5050560695e46d272e5301feffda3c41849641222a828 \ + --hash=sha256:6327b572f5770293fc062a7ec04160e89741e8552bf1c358d1a23eba68166759 \ + --hash=sha256:669b29a9eca6146465cc574659058ed949748f0809a2582d1f1a324eb91054dc \ + --hash=sha256:6ce01337d23884b21c03869d2f68c5523d43174d4fc405490eb0091057943118 \ + --hash=sha256:6d872186c1617d143969defeadac5a904e6e374183e07977eedef9c07c8953bf \ + --hash=sha256:6f76a90c345796c01d85e6332e81cab6d70de83b829cf1d9762d0a3da59c7932 \ + --hash=sha256:70d2aa9fb00cf52034feac4b913181a6e10356019b18ef89bc7c12a283bf5f5a \ + --hash=sha256:7cbc78dc018596315d4e7841c8c3a7ae31cc4d638c9b627f87d52e8abaaf2d29 \ + --hash=sha256:856bf0924d24e7f93b8aee12a3a1095c34085600aa805693fb7f5d1962393206 \ + --hash=sha256:8a98748ed1a1df4ee1d6f927e151ed6c1a09d5ec21684de879c7ea6aa96f58f2 \ + --hash=sha256:93a7350f6706b31f457c1457d3a3259ff9071a66f312ae64dc024f049055f72c \ + --hash=sha256:964823b2fc77b55355999ade496c54dde161c621cb1f6eac61dc30ed1b63cd4c \ + --hash=sha256:a003ac9edc22d99ae1286b0875c460351f4e101f8c9d9d2576e78d7e048f64e0 \ + --hash=sha256:a0ce71725cacc9ebf839630772b07eeec220cbb5f03be1399e0457a1464f8e1a \ + --hash=sha256:a47eef975d2b8b721775a0fa286f50eab535b9d56c70a6e62842134cf7841195 \ + --hash=sha256:a8b5b9712783415695663bd463990e2f00c6750562e6ad1d28e072a611c5f2a6 \ + --hash=sha256:a9015f5b8af1bb6837a3fcb0cdf3b874fe3385ff6274e8b7925d81ccaec3c5c9 \ + --hash=sha256:aec510255ce690d240f7cb23d7114f6b351c733a74c279a84def763660a2c3bc \ + --hash=sha256:b00e7bcd71caa0282cbe3c90966f738e2db91e64092a877c3ff7f19a1628fdcb \ + --hash=sha256:b50aaac7d05c2c26dfd50c3321199f019ba76bb650e346a6ef3616306eed67b0 \ + --hash=sha256:b7b6ea9e36d32582cda3465f54c4b454f62f23cb083ebc7a94e2ca6ef011c3a7 \ + --hash=sha256:bb9333f58fc3a2296fb1d54576138d4cf5d496a2cc118422bd77835e6ae0b9cb \ + --hash=sha256:c1c13185b90bbd3f8b5963cd8ce7ad4ff441924c31e23c975cb150e27c2bf67a \ + --hash=sha256:c3b8bd3133cd50f6b637bb4322822c94c5ce4bf0d724ed5ae70afce62187c492 \ + --hash=sha256:c5d97162c196ce54af6700949ddf9409e9833ef1003b4741c2b39ef46f1d9720 \ + --hash=sha256:c815270206f983309915a6844fe994b2fa47e5d05c4c4cef267c3b30e34dbe42 \ + --hash=sha256:cab2eba3830bf4f6d91e2d6718e0e1c14a2f5ad1af68a89d24ace0c6b17cced7 \ + --hash=sha256:d1df34588123fcc88c872f5acb6f74ae59e9d182a2707097f9e28275ec26a12d \ + --hash=sha256:d6bdcd415ba87846fd317bee0774e412e8792832e7805938987e4ede1d13046d \ + --hash=sha256:db9a30ec064129d605d0f1aedc93e00894b9334ec74ba9c6bdd08147434b33eb \ + --hash=sha256:dbc183e7bef690c9abe5ea67b7b60fdbca81aa8da43468287dae7b5c046107d4 \ + --hash=sha256:dca802c8db0720ce1c49cce1149ff7b06e91ba15fa84b1d59144fef1a1bc7ac2 \ + --hash=sha256:dec6b307ce928e8e112a6bb9921a1cb00a0e14979bf28b98e084a4b8a742bd9b \ + --hash=sha256:df8bb0010fdd0a743b7542589223a2816bdde4d94bb5ad67884348fa2c1c67e8 \ + --hash=sha256:e4094c7b464cf0a858e75cd14b03509e84789abf7b79f8537e6a72152109c76e \ + --hash=sha256:e4760a68cab57bfaa628938e9c2971137e05ce48e762a9cb53b76c9b569f1204 \ + --hash=sha256:eb09b82377233b902d4c3fbeeb7ad731cdab579c6c6fda1f763cd779139e47c3 \ + --hash=sha256:eb862356ee9391dc5a0b3cbc00f416b48c1b9a52d252d898e5b7696a5f9fe150 \ + --hash=sha256:ef9528915df81b8f4c7612b19b8628214c65c9b7f74db2e34a646a0a2a0da2d4 \ + --hash=sha256:f3157624b7558b914cb039fd1af735e5e8049a87c817cc215109ad1c8779df76 \ + --hash=sha256:f3e0992f23bbb0be00a921eae5363329253c3b86287db27092461c887b791e5e \ + --hash=sha256:f9338cc05451f1942d0d8203ec2c346c830f8e86469903d5126c1f0a13a2bcbb \ + --hash=sha256:ffef8fd58a36fb5f1196919638f73dd3ae0db1a878982b27a9a5a176ede4ba91 colorama==0.4.6 ; python_full_version >= "3.9.0" and python_version < "3.13" and sys_platform == "win32" \ --hash=sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44 \ --hash=sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6 -coverage[toml]==7.6.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ - --hash=sha256:0086cd4fc71b7d485ac93ca4239c8f75732c2ae3ba83f6be1c9be59d9e2c6382 \ - --hash=sha256:01c322ef2bbe15057bc4bf132b525b7e3f7206f071799eb8aa6ad1940bcf5fb1 \ - --hash=sha256:03cafe82c1b32b770a29fd6de923625ccac3185a54a5e66606da26d105f37dac \ - --hash=sha256:044a0985a4f25b335882b0966625270a8d9db3d3409ddc49a4eb00b0ef5e8cee \ - --hash=sha256:07ed352205574aad067482e53dd606926afebcb5590653121063fbf4e2175166 \ - --hash=sha256:0d1b923fc4a40c5832be4f35a5dab0e5ff89cddf83bb4174499e02ea089daf57 \ - --hash=sha256:0e7b27d04131c46e6894f23a4ae186a6a2207209a05df5b6ad4caee6d54a222c \ - --hash=sha256:1fad32ee9b27350687035cb5fdf9145bc9cf0a094a9577d43e909948ebcfa27b \ - --hash=sha256:289cc803fa1dc901f84701ac10c9ee873619320f2f9aff38794db4a4a0268d51 \ - --hash=sha256:3c59105f8d58ce500f348c5b56163a4113a440dad6daa2294b5052a10db866da \ - --hash=sha256:46c3d091059ad0b9c59d1034de74a7f36dcfa7f6d3bde782c49deb42438f2450 \ - --hash=sha256:482855914928c8175735a2a59c8dc5806cf7d8f032e4820d52e845d1f731dca2 \ - --hash=sha256:49c76cdfa13015c4560702574bad67f0e15ca5a2872c6a125f6327ead2b731dd \ - --hash=sha256:4b03741e70fb811d1a9a1d75355cf391f274ed85847f4b78e35459899f57af4d \ - --hash=sha256:4bea27c4269234e06f621f3fac3925f56ff34bc14521484b8f66a580aacc2e7d \ - --hash=sha256:4d5fae0a22dc86259dee66f2cc6c1d3e490c4a1214d7daa2a93d07491c5c04b6 \ - --hash=sha256:543ef9179bc55edfd895154a51792b01c017c87af0ebaae092720152e19e42ca \ - --hash=sha256:54dece71673b3187c86226c3ca793c5f891f9fc3d8aa183f2e3653da18566169 \ - --hash=sha256:6379688fb4cfa921ae349c76eb1a9ab26b65f32b03d46bb0eed841fd4cb6afb1 \ - --hash=sha256:65fa405b837060db569a61ec368b74688f429b32fa47a8929a7a2f9b47183713 \ - --hash=sha256:6616d1c9bf1e3faea78711ee42a8b972367d82ceae233ec0ac61cc7fec09fa6b \ - --hash=sha256:6fe885135c8a479d3e37a7aae61cbd3a0fb2deccb4dda3c25f92a49189f766d6 \ - --hash=sha256:7221f9ac9dad9492cecab6f676b3eaf9185141539d5c9689d13fd6b0d7de840c \ - --hash=sha256:76d5f82213aa78098b9b964ea89de4617e70e0d43e97900c2778a50856dac605 \ - --hash=sha256:7792f0ab20df8071d669d929c75c97fecfa6bcab82c10ee4adb91c7a54055463 \ - --hash=sha256:831b476d79408ab6ccfadaaf199906c833f02fdb32c9ab907b1d4aa0713cfa3b \ - --hash=sha256:9146579352d7b5f6412735d0f203bbd8d00113a680b66565e205bc605ef81bc6 \ - --hash=sha256:9cc44bf0315268e253bf563f3560e6c004efe38f76db03a1558274a6e04bf5d5 \ - --hash=sha256:a73d18625f6a8a1cbb11eadc1d03929f9510f4131879288e3f7922097a429f63 \ - --hash=sha256:a8659fd33ee9e6ca03950cfdcdf271d645cf681609153f218826dd9805ab585c \ - --hash=sha256:a94925102c89247530ae1dab7dc02c690942566f22e189cbd53579b0693c0783 \ - --hash=sha256:ad4567d6c334c46046d1c4c20024de2a1c3abc626817ae21ae3da600f5779b44 \ - --hash=sha256:b2e16f4cd2bc4d88ba30ca2d3bbf2f21f00f382cf4e1ce3b1ddc96c634bc48ca \ - --hash=sha256:bbdf9a72403110a3bdae77948b8011f644571311c2fb35ee15f0f10a8fc082e8 \ - --hash=sha256:beb08e8508e53a568811016e59f3234d29c2583f6b6e28572f0954a6b4f7e03d \ - --hash=sha256:c4cbe651f3904e28f3a55d6f371203049034b4ddbce65a54527a3f189ca3b390 \ - --hash=sha256:c7b525ab52ce18c57ae232ba6f7010297a87ced82a2383b1afd238849c1ff933 \ - --hash=sha256:ca5d79cfdae420a1d52bf177de4bc2289c321d6c961ae321503b2ca59c17ae67 \ - --hash=sha256:cdab02a0a941af190df8782aafc591ef3ad08824f97850b015c8c6a8b3877b0b \ - --hash=sha256:d17c6a415d68cfe1091d3296ba5749d3d8696e42c37fca5d4860c5bf7b729f03 \ - --hash=sha256:d39bd10f0ae453554798b125d2f39884290c480f56e8a02ba7a6ed552005243b \ - --hash=sha256:d4b3cd1ca7cd73d229487fa5caca9e4bc1f0bca96526b922d61053ea751fe791 \ - --hash=sha256:d50a252b23b9b4dfeefc1f663c568a221092cbaded20a05a11665d0dbec9b8fb \ - --hash=sha256:da8549d17489cd52f85a9829d0e1d91059359b3c54a26f28bec2c5d369524807 \ - --hash=sha256:dcd070b5b585b50e6617e8972f3fbbee786afca71b1936ac06257f7e178f00f6 \ - --hash=sha256:ddaaa91bfc4477d2871442bbf30a125e8fe6b05da8a0015507bfbf4718228ab2 \ - --hash=sha256:df423f351b162a702c053d5dddc0fc0ef9a9e27ea3f449781ace5f906b664428 \ - --hash=sha256:dff044f661f59dace805eedb4a7404c573b6ff0cdba4a524141bc63d7be5c7fd \ - --hash=sha256:e7e128f85c0b419907d1f38e616c4f1e9f1d1b37a7949f44df9a73d5da5cd53c \ - --hash=sha256:ed8d1d1821ba5fc88d4a4f45387b65de52382fa3ef1f0115a4f7a20cdfab0e94 \ - --hash=sha256:f2501d60d7497fd55e391f423f965bbe9e650e9ffc3c627d5f0ac516026000b8 \ - --hash=sha256:f7db0b6ae1f96ae41afe626095149ecd1b212b424626175a6633c2999eaad45b +coverage[toml]==7.6.1 ; python_full_version >= "3.9.0" and python_version < "3.13" \ + --hash=sha256:06a737c882bd26d0d6ee7269b20b12f14a8704807a01056c80bb881a4b2ce6ca \ + --hash=sha256:07e2ca0ad381b91350c0ed49d52699b625aab2b44b65e1b4e02fa9df0e92ad2d \ + --hash=sha256:0c0420b573964c760df9e9e86d1a9a622d0d27f417e1a949a8a66dd7bcee7bc6 \ + --hash=sha256:0dbde0f4aa9a16fa4d754356a8f2e36296ff4d83994b2c9d8398aa32f222f989 \ + --hash=sha256:1125ca0e5fd475cbbba3bb67ae20bd2c23a98fac4e32412883f9bcbaa81c314c \ + --hash=sha256:13b0a73a0896988f053e4fbb7de6d93388e6dd292b0d87ee51d106f2c11b465b \ + --hash=sha256:166811d20dfea725e2e4baa71fffd6c968a958577848d2131f39b60043400223 \ + --hash=sha256:170d444ab405852903b7d04ea9ae9b98f98ab6d7e63e1115e82620807519797f \ + --hash=sha256:1f4aa8219db826ce6be7099d559f8ec311549bfc4046f7f9fe9b5cea5c581c56 \ + --hash=sha256:225667980479a17db1048cb2bf8bfb39b8e5be8f164b8f6628b64f78a72cf9d3 \ + --hash=sha256:260933720fdcd75340e7dbe9060655aff3af1f0c5d20f46b57f262ab6c86a5e8 \ + --hash=sha256:2bdb062ea438f22d99cba0d7829c2ef0af1d768d1e4a4f528087224c90b132cb \ + --hash=sha256:2c09f4ce52cb99dd7505cd0fc8e0e37c77b87f46bc9c1eb03fe3bc9991085388 \ + --hash=sha256:3115a95daa9bdba70aea750db7b96b37259a81a709223c8448fa97727d546fe0 \ + --hash=sha256:3e0cadcf6733c09154b461f1ca72d5416635e5e4ec4e536192180d34ec160f8a \ + --hash=sha256:3f1156e3e8f2872197af3840d8ad307a9dd18e615dc64d9ee41696f287c57ad8 \ + --hash=sha256:4421712dbfc5562150f7554f13dde997a2e932a6b5f352edcce948a815efee6f \ + --hash=sha256:44df346d5215a8c0e360307d46ffaabe0f5d3502c8a1cefd700b34baf31d411a \ + --hash=sha256:502753043567491d3ff6d08629270127e0c31d4184c4c8d98f92c26f65019962 \ + --hash=sha256:547f45fa1a93154bd82050a7f3cddbc1a7a4dd2a9bf5cb7d06f4ae29fe94eaf8 \ + --hash=sha256:5621a9175cf9d0b0c84c2ef2b12e9f5f5071357c4d2ea6ca1cf01814f45d2391 \ + --hash=sha256:609b06f178fe8e9f89ef676532760ec0b4deea15e9969bf754b37f7c40326dbc \ + --hash=sha256:645786266c8f18a931b65bfcefdbf6952dd0dea98feee39bd188607a9d307ed2 \ + --hash=sha256:6878ef48d4227aace338d88c48738a4258213cd7b74fd9a3d4d7582bb1d8a155 \ + --hash=sha256:6a89ecca80709d4076b95f89f308544ec8f7b4727e8a547913a35f16717856cb \ + --hash=sha256:6db04803b6c7291985a761004e9060b2bca08da6d04f26a7f2294b8623a0c1a0 \ + --hash=sha256:6e2cd258d7d927d09493c8df1ce9174ad01b381d4729a9d8d4e38670ca24774c \ + --hash=sha256:6e81d7a3e58882450ec4186ca59a3f20a5d4440f25b1cff6f0902ad890e6748a \ + --hash=sha256:702855feff378050ae4f741045e19a32d57d19f3e0676d589df0575008ea5004 \ + --hash=sha256:78b260de9790fd81e69401c2dc8b17da47c8038176a79092a89cb2b7d945d060 \ + --hash=sha256:7bb65125fcbef8d989fa1dd0e8a060999497629ca5b0efbca209588a73356232 \ + --hash=sha256:7dea0889685db8550f839fa202744652e87c60015029ce3f60e006f8c4462c93 \ + --hash=sha256:8284cf8c0dd272a247bc154eb6c95548722dce90d098c17a883ed36e67cdb129 \ + --hash=sha256:877abb17e6339d96bf08e7a622d05095e72b71f8afd8a9fefc82cf30ed944163 \ + --hash=sha256:8929543a7192c13d177b770008bc4e8119f2e1f881d563fc6b6305d2d0ebe9de \ + --hash=sha256:8ae539519c4c040c5ffd0632784e21b2f03fc1340752af711f33e5be83a9d6c6 \ + --hash=sha256:8f59d57baca39b32db42b83b2a7ba6f47ad9c394ec2076b084c3f029b7afca23 \ + --hash=sha256:9054a0754de38d9dbd01a46621636689124d666bad1936d76c0341f7d71bf569 \ + --hash=sha256:953510dfb7b12ab69d20135a0662397f077c59b1e6379a768e97c59d852ee51d \ + --hash=sha256:95cae0efeb032af8458fc27d191f85d1717b1d4e49f7cb226cf526ff28179778 \ + --hash=sha256:9bc572be474cafb617672c43fe989d6e48d3c83af02ce8de73fff1c6bb3c198d \ + --hash=sha256:9c56863d44bd1c4fe2abb8a4d6f5371d197f1ac0ebdee542f07f35895fc07f36 \ + --hash=sha256:9e0b2df163b8ed01d515807af24f63de04bebcecbd6c3bfeff88385789fdf75a \ + --hash=sha256:a09ece4a69cf399510c8ab25e0950d9cf2b42f7b3cb0374f95d2e2ff594478a6 \ + --hash=sha256:a1ac0ae2b8bd743b88ed0502544847c3053d7171a3cff9228af618a068ed9c34 \ + --hash=sha256:a318d68e92e80af8b00fa99609796fdbcdfef3629c77c6283566c6f02c6d6704 \ + --hash=sha256:a4acd025ecc06185ba2b801f2de85546e0b8ac787cf9d3b06e7e2a69f925b106 \ + --hash=sha256:a6d3adcf24b624a7b778533480e32434a39ad8fa30c315208f6d3e5542aeb6e9 \ + --hash=sha256:a78d169acd38300060b28d600344a803628c3fd585c912cacc9ea8790fe96862 \ + --hash=sha256:a95324a9de9650a729239daea117df21f4b9868ce32e63f8b650ebe6cef5595b \ + --hash=sha256:abd5fd0db5f4dc9289408aaf34908072f805ff7792632250dcb36dc591d24255 \ + --hash=sha256:b06079abebbc0e89e6163b8e8f0e16270124c154dc6e4a47b413dd538859af16 \ + --hash=sha256:b43c03669dc4618ec25270b06ecd3ee4fa94c7f9b3c14bae6571ca00ef98b0d3 \ + --hash=sha256:b48f312cca9621272ae49008c7f613337c53fadca647d6384cc129d2996d1133 \ + --hash=sha256:b5d7b556859dd85f3a541db6a4e0167b86e7273e1cdc973e5b175166bb634fdb \ + --hash=sha256:b9f222de8cded79c49bf184bdbc06630d4c58eec9459b939b4a690c82ed05657 \ + --hash=sha256:c3c02d12f837d9683e5ab2f3d9844dc57655b92c74e286c262e0fc54213c216d \ + --hash=sha256:c44fee9975f04b33331cb8eb272827111efc8930cfd582e0320613263ca849ca \ + --hash=sha256:cf4b19715bccd7ee27b6b120e7e9dd56037b9c0681dcc1adc9ba9db3d417fa36 \ + --hash=sha256:d0c212c49b6c10e6951362f7c6df3329f04c2b1c28499563d4035d964ab8e08c \ + --hash=sha256:d3296782ca4eab572a1a4eca686d8bfb00226300dcefdf43faa25b5242ab8a3e \ + --hash=sha256:d85f5e9a5f8b73e2350097c3756ef7e785f55bd71205defa0bfdaf96c31616ff \ + --hash=sha256:da511e6ad4f7323ee5702e6633085fb76c2f893aaf8ce4c51a0ba4fc07580ea7 \ + --hash=sha256:e05882b70b87a18d937ca6768ff33cc3f72847cbc4de4491c8e73880766718e5 \ + --hash=sha256:e61c0abb4c85b095a784ef23fdd4aede7a2628478e7baba7c5e3deba61070a02 \ + --hash=sha256:e6a08c0be454c3b3beb105c0596ebdc2371fab6bb90c0c0297f4e58fd7e1012c \ + --hash=sha256:e9a6e0eb86070e8ccaedfbd9d38fec54864f3125ab95419970575b42af7541df \ + --hash=sha256:ed37bd3c3b063412f7620464a9ac1314d33100329f39799255fb8d3027da50d3 \ + --hash=sha256:f1adfc8ac319e1a348af294106bc6a8458a0f1633cc62a1446aebc30c5fa186a \ + --hash=sha256:f5796e664fe802da4f57a168c85359a8fbf3eab5e55cd4e4569fbacecc903959 \ + --hash=sha256:fc5a77d0c516700ebad189b587de289a20a78324bc54baee03dd486f0855d234 \ + --hash=sha256:fd21f6ae3f08b41004dfb433fa895d858f3f5979e7762d052b12aef444e29afc exceptiongroup==1.2.2 ; python_full_version >= "3.9.0" and python_version < "3.11" \ --hash=sha256:3111b9d131c238bec2f8f516e123e14ba243563fb135d3fe885990585aa7795b \ --hash=sha256:47c2edf7c6738fafb49fd34290706d1a1a2f4d1c6df275526b62cbb4aa5393cc @@ -173,9 +208,9 @@ termcolor==2.4.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ tomli==2.0.1 ; python_full_version >= "3.9.0" and python_full_version <= "3.11.0a6" \ --hash=sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc \ --hash=sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f -trio==0.26.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ - --hash=sha256:67c5ec3265dd4abc7b1d1ab9ca4fe4c25b896f9c93dac73713778adab487f9c4 \ - --hash=sha256:bb9c1b259591af941fccfbabbdc65bc7ed764bd2db76428454c894cd5e3d2032 +trio==0.26.2 ; python_full_version >= "3.9.0" and python_version < "3.13" \ + --hash=sha256:0346c3852c15e5c7d40ea15972c4805689ef2cb8b5206f794c9c19450119f3a4 \ + --hash=sha256:c5237e8133eb0a1d72f09a971a55c28ebe69e351c783fc64bc37db8db8bbe1d0 typing-extensions==4.12.2 ; python_full_version >= "3.9.0" and python_version < "3.11" \ --hash=sha256:04e5ca0351e0f3f85c6853954072df659d0d13fac324d0072316b67d7794700d \ --hash=sha256:1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8 diff --git a/dev-requirements/type-checking.txt b/dev-requirements/type-checking.txt index 84a37730..aa32a6a9 100644 --- a/dev-requirements/type-checking.txt +++ b/dev-requirements/type-checking.txt @@ -10,124 +10,159 @@ annotated-types==0.7.0 ; python_full_version >= "3.9.0" and python_version < "3. anyio==4.4.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:5aadc6a1bbb7cdb0bede386cac5e2940f5e2ff3aa20277e991cf028e0585ce94 \ --hash=sha256:c1b2d8f46a8a812513012e1107cb0e68c17159a7a594208005a57dc776e1bdc7 -argcomplete==3.4.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ - --hash=sha256:69a79e083a716173e5532e0fa3bef45f793f4e61096cf52b5a42c0211c8b8aa5 \ - --hash=sha256:c2abcdfe1be8ace47ba777d4fce319eb13bf8ad9dace8d085dcad6eded88057f -attrs==23.2.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ - --hash=sha256:935dc3b529c262f6cf76e50877d35a4bd3c1de194fd41f47a2b7ae8f19971f30 \ - --hash=sha256:99b87a485a5820b23b879f04c2305b44b951b502fd64be915879d77a7e8fc6f1 -cffi==1.16.0 ; os_name == "nt" and implementation_name != "pypy" and python_full_version >= "3.9.0" and python_version < "3.13" \ - --hash=sha256:0c9ef6ff37e974b73c25eecc13952c55bceed9112be2d9d938ded8e856138bcc \ - --hash=sha256:131fd094d1065b19540c3d72594260f118b231090295d8c34e19a7bbcf2e860a \ - --hash=sha256:1b8ebc27c014c59692bb2664c7d13ce7a6e9a629be20e54e7271fa696ff2b417 \ - --hash=sha256:2c56b361916f390cd758a57f2e16233eb4f64bcbeee88a4881ea90fca14dc6ab \ - --hash=sha256:2d92b25dbf6cae33f65005baf472d2c245c050b1ce709cc4588cdcdd5495b520 \ - --hash=sha256:31d13b0f99e0836b7ff893d37af07366ebc90b678b6664c955b54561fc36ef36 \ - --hash=sha256:32c68ef735dbe5857c810328cb2481e24722a59a2003018885514d4c09af9743 \ - --hash=sha256:3686dffb02459559c74dd3d81748269ffb0eb027c39a6fc99502de37d501faa8 \ - --hash=sha256:582215a0e9adbe0e379761260553ba11c58943e4bbe9c36430c4ca6ac74b15ed \ - --hash=sha256:5b50bf3f55561dac5438f8e70bfcdfd74543fd60df5fa5f62d94e5867deca684 \ - --hash=sha256:5bf44d66cdf9e893637896c7faa22298baebcd18d1ddb6d2626a6e39793a1d56 \ - --hash=sha256:6602bc8dc6f3a9e02b6c22c4fc1e47aa50f8f8e6d3f78a5e16ac33ef5fefa324 \ - --hash=sha256:673739cb539f8cdaa07d92d02efa93c9ccf87e345b9a0b556e3ecc666718468d \ - --hash=sha256:68678abf380b42ce21a5f2abde8efee05c114c2fdb2e9eef2efdb0257fba1235 \ - --hash=sha256:68e7c44931cc171c54ccb702482e9fc723192e88d25a0e133edd7aff8fcd1f6e \ - --hash=sha256:6b3d6606d369fc1da4fd8c357d026317fbb9c9b75d36dc16e90e84c26854b088 \ - --hash=sha256:748dcd1e3d3d7cd5443ef03ce8685043294ad6bd7c02a38d1bd367cfd968e000 \ - --hash=sha256:7651c50c8c5ef7bdb41108b7b8c5a83013bfaa8a935590c5d74627c047a583c7 \ - --hash=sha256:7b78010e7b97fef4bee1e896df8a4bbb6712b7f05b7ef630f9d1da00f6444d2e \ - --hash=sha256:7e61e3e4fa664a8588aa25c883eab612a188c725755afff6289454d6362b9673 \ - --hash=sha256:80876338e19c951fdfed6198e70bc88f1c9758b94578d5a7c4c91a87af3cf31c \ - --hash=sha256:8895613bcc094d4a1b2dbe179d88d7fb4a15cee43c052e8885783fac397d91fe \ - --hash=sha256:88e2b3c14bdb32e440be531ade29d3c50a1a59cd4e51b1dd8b0865c54ea5d2e2 \ - --hash=sha256:8f8e709127c6c77446a8c0a8c8bf3c8ee706a06cd44b1e827c3e6a2ee6b8c098 \ - --hash=sha256:9cb4a35b3642fc5c005a6755a5d17c6c8b6bcb6981baf81cea8bfbc8903e8ba8 \ - --hash=sha256:9f90389693731ff1f659e55c7d1640e2ec43ff725cc61b04b2f9c6d8d017df6a \ - --hash=sha256:a09582f178759ee8128d9270cd1344154fd473bb77d94ce0aeb2a93ebf0feaf0 \ - --hash=sha256:a6a14b17d7e17fa0d207ac08642c8820f84f25ce17a442fd15e27ea18d67c59b \ - --hash=sha256:a72e8961a86d19bdb45851d8f1f08b041ea37d2bd8d4fd19903bc3083d80c896 \ - --hash=sha256:abd808f9c129ba2beda4cfc53bde801e5bcf9d6e0f22f095e45327c038bfe68e \ - --hash=sha256:ac0f5edd2360eea2f1daa9e26a41db02dd4b0451b48f7c318e217ee092a213e9 \ - --hash=sha256:b29ebffcf550f9da55bec9e02ad430c992a87e5f512cd63388abb76f1036d8d2 \ - --hash=sha256:b2ca4e77f9f47c55c194982e10f058db063937845bb2b7a86c84a6cfe0aefa8b \ - --hash=sha256:b7be2d771cdba2942e13215c4e340bfd76398e9227ad10402a8767ab1865d2e6 \ - --hash=sha256:b84834d0cf97e7d27dd5b7f3aca7b6e9263c56308ab9dc8aae9784abb774d404 \ - --hash=sha256:b86851a328eedc692acf81fb05444bdf1891747c25af7529e39ddafaf68a4f3f \ - --hash=sha256:bcb3ef43e58665bbda2fb198698fcae6776483e0c4a631aa5647806c25e02cc0 \ - --hash=sha256:c0f31130ebc2d37cdd8e44605fb5fa7ad59049298b3f745c74fa74c62fbfcfc4 \ - --hash=sha256:c6a164aa47843fb1b01e941d385aab7215563bb8816d80ff3a363a9f8448a8dc \ - --hash=sha256:d8a9d3ebe49f084ad71f9269834ceccbf398253c9fac910c4fd7053ff1386936 \ - --hash=sha256:db8e577c19c0fda0beb7e0d4e09e0ba74b1e4c092e0e40bfa12fe05b6f6d75ba \ - --hash=sha256:dc9b18bf40cc75f66f40a7379f6a9513244fe33c0e8aa72e2d56b0196a7ef872 \ - --hash=sha256:e09f3ff613345df5e8c3667da1d918f9149bd623cd9070c983c013792a9a62eb \ - --hash=sha256:e4108df7fe9b707191e55f33efbcb2d81928e10cea45527879a4749cbe472614 \ - --hash=sha256:e6024675e67af929088fda399b2094574609396b1decb609c55fa58b028a32a1 \ - --hash=sha256:e70f54f1796669ef691ca07d046cd81a29cb4deb1e5f942003f401c0c4a2695d \ - --hash=sha256:e715596e683d2ce000574bae5d07bd522c781a822866c20495e52520564f0969 \ - --hash=sha256:e760191dd42581e023a68b758769e2da259b5d52e3103c6060ddc02c9edb8d7b \ - --hash=sha256:ed86a35631f7bfbb28e108dd96773b9d5a6ce4811cf6ea468bb6a359b256b1e4 \ - --hash=sha256:ee07e47c12890ef248766a6e55bd38ebfb2bb8edd4142d56db91b21ea68b7627 \ - --hash=sha256:fa3a0128b152627161ce47201262d3140edb5a5c3da88d73a1b790a959126956 \ - --hash=sha256:fcc8eb6d5902bb1cf6dc4f187ee3ea80a1eba0a89aba40a5cb20a5087d961357 +argcomplete==3.5.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ + --hash=sha256:4349400469dccfb7950bb60334a680c58d88699bff6159df61251878dc6bf74b \ + --hash=sha256:d4bcf3ff544f51e16e54228a7ac7f486ed70ebf2ecfe49a63a91171c76bf029b +attrs==24.2.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ + --hash=sha256:5cfb1b9148b5b086569baec03f20d7b6bf3bcacc9a42bebf87ffaaca362f6346 \ + --hash=sha256:81921eb96de3191c8258c199618104dd27ac608d9366f5e35d011eae1867ede2 +cffi==1.17.0 ; os_name == "nt" and implementation_name != "pypy" and python_full_version >= "3.9.0" and python_version < "3.13" \ + --hash=sha256:011aff3524d578a9412c8b3cfaa50f2c0bd78e03eb7af7aa5e0df59b158efb2f \ + --hash=sha256:0a048d4f6630113e54bb4b77e315e1ba32a5a31512c31a273807d0027a7e69ab \ + --hash=sha256:0bb15e7acf8ab35ca8b24b90af52c8b391690ef5c4aec3d31f38f0d37d2cc499 \ + --hash=sha256:0d46ee4764b88b91f16661a8befc6bfb24806d885e27436fdc292ed7e6f6d058 \ + --hash=sha256:0e60821d312f99d3e1569202518dddf10ae547e799d75aef3bca3a2d9e8ee693 \ + --hash=sha256:0fdacad9e0d9fc23e519efd5ea24a70348305e8d7d85ecbb1a5fa66dc834e7fb \ + --hash=sha256:14b9cbc8f7ac98a739558eb86fabc283d4d564dafed50216e7f7ee62d0d25377 \ + --hash=sha256:17c6d6d3260c7f2d94f657e6872591fe8733872a86ed1345bda872cfc8c74885 \ + --hash=sha256:1a2ddbac59dc3716bc79f27906c010406155031a1c801410f1bafff17ea304d2 \ + --hash=sha256:2404f3de742f47cb62d023f0ba7c5a916c9c653d5b368cc966382ae4e57da401 \ + --hash=sha256:24658baf6224d8f280e827f0a50c46ad819ec8ba380a42448e24459daf809cf4 \ + --hash=sha256:24aa705a5f5bd3a8bcfa4d123f03413de5d86e497435693b638cbffb7d5d8a1b \ + --hash=sha256:2770bb0d5e3cc0e31e7318db06efcbcdb7b31bcb1a70086d3177692a02256f59 \ + --hash=sha256:331ad15c39c9fe9186ceaf87203a9ecf5ae0ba2538c9e898e3a6967e8ad3db6f \ + --hash=sha256:3aa9d43b02a0c681f0bfbc12d476d47b2b2b6a3f9287f11ee42989a268a1833c \ + --hash=sha256:41f4915e09218744d8bae14759f983e466ab69b178de38066f7579892ff2a555 \ + --hash=sha256:4304d4416ff032ed50ad6bb87416d802e67139e31c0bde4628f36a47a3164bfa \ + --hash=sha256:435a22d00ec7d7ea533db494da8581b05977f9c37338c80bc86314bec2619424 \ + --hash=sha256:45f7cd36186db767d803b1473b3c659d57a23b5fa491ad83c6d40f2af58e4dbb \ + --hash=sha256:48b389b1fd5144603d61d752afd7167dfd205973a43151ae5045b35793232aa2 \ + --hash=sha256:4e67d26532bfd8b7f7c05d5a766d6f437b362c1bf203a3a5ce3593a645e870b8 \ + --hash=sha256:516a405f174fd3b88829eabfe4bb296ac602d6a0f68e0d64d5ac9456194a5b7e \ + --hash=sha256:5ba5c243f4004c750836f81606a9fcb7841f8874ad8f3bf204ff5e56332b72b9 \ + --hash=sha256:5bdc0f1f610d067c70aa3737ed06e2726fd9d6f7bfee4a351f4c40b6831f4e82 \ + --hash=sha256:6107e445faf057c118d5050560695e46d272e5301feffda3c41849641222a828 \ + --hash=sha256:6327b572f5770293fc062a7ec04160e89741e8552bf1c358d1a23eba68166759 \ + --hash=sha256:669b29a9eca6146465cc574659058ed949748f0809a2582d1f1a324eb91054dc \ + --hash=sha256:6ce01337d23884b21c03869d2f68c5523d43174d4fc405490eb0091057943118 \ + --hash=sha256:6d872186c1617d143969defeadac5a904e6e374183e07977eedef9c07c8953bf \ + --hash=sha256:6f76a90c345796c01d85e6332e81cab6d70de83b829cf1d9762d0a3da59c7932 \ + --hash=sha256:70d2aa9fb00cf52034feac4b913181a6e10356019b18ef89bc7c12a283bf5f5a \ + --hash=sha256:7cbc78dc018596315d4e7841c8c3a7ae31cc4d638c9b627f87d52e8abaaf2d29 \ + --hash=sha256:856bf0924d24e7f93b8aee12a3a1095c34085600aa805693fb7f5d1962393206 \ + --hash=sha256:8a98748ed1a1df4ee1d6f927e151ed6c1a09d5ec21684de879c7ea6aa96f58f2 \ + --hash=sha256:93a7350f6706b31f457c1457d3a3259ff9071a66f312ae64dc024f049055f72c \ + --hash=sha256:964823b2fc77b55355999ade496c54dde161c621cb1f6eac61dc30ed1b63cd4c \ + --hash=sha256:a003ac9edc22d99ae1286b0875c460351f4e101f8c9d9d2576e78d7e048f64e0 \ + --hash=sha256:a0ce71725cacc9ebf839630772b07eeec220cbb5f03be1399e0457a1464f8e1a \ + --hash=sha256:a47eef975d2b8b721775a0fa286f50eab535b9d56c70a6e62842134cf7841195 \ + --hash=sha256:a8b5b9712783415695663bd463990e2f00c6750562e6ad1d28e072a611c5f2a6 \ + --hash=sha256:a9015f5b8af1bb6837a3fcb0cdf3b874fe3385ff6274e8b7925d81ccaec3c5c9 \ + --hash=sha256:aec510255ce690d240f7cb23d7114f6b351c733a74c279a84def763660a2c3bc \ + --hash=sha256:b00e7bcd71caa0282cbe3c90966f738e2db91e64092a877c3ff7f19a1628fdcb \ + --hash=sha256:b50aaac7d05c2c26dfd50c3321199f019ba76bb650e346a6ef3616306eed67b0 \ + --hash=sha256:b7b6ea9e36d32582cda3465f54c4b454f62f23cb083ebc7a94e2ca6ef011c3a7 \ + --hash=sha256:bb9333f58fc3a2296fb1d54576138d4cf5d496a2cc118422bd77835e6ae0b9cb \ + --hash=sha256:c1c13185b90bbd3f8b5963cd8ce7ad4ff441924c31e23c975cb150e27c2bf67a \ + --hash=sha256:c3b8bd3133cd50f6b637bb4322822c94c5ce4bf0d724ed5ae70afce62187c492 \ + --hash=sha256:c5d97162c196ce54af6700949ddf9409e9833ef1003b4741c2b39ef46f1d9720 \ + --hash=sha256:c815270206f983309915a6844fe994b2fa47e5d05c4c4cef267c3b30e34dbe42 \ + --hash=sha256:cab2eba3830bf4f6d91e2d6718e0e1c14a2f5ad1af68a89d24ace0c6b17cced7 \ + --hash=sha256:d1df34588123fcc88c872f5acb6f74ae59e9d182a2707097f9e28275ec26a12d \ + --hash=sha256:d6bdcd415ba87846fd317bee0774e412e8792832e7805938987e4ede1d13046d \ + --hash=sha256:db9a30ec064129d605d0f1aedc93e00894b9334ec74ba9c6bdd08147434b33eb \ + --hash=sha256:dbc183e7bef690c9abe5ea67b7b60fdbca81aa8da43468287dae7b5c046107d4 \ + --hash=sha256:dca802c8db0720ce1c49cce1149ff7b06e91ba15fa84b1d59144fef1a1bc7ac2 \ + --hash=sha256:dec6b307ce928e8e112a6bb9921a1cb00a0e14979bf28b98e084a4b8a742bd9b \ + --hash=sha256:df8bb0010fdd0a743b7542589223a2816bdde4d94bb5ad67884348fa2c1c67e8 \ + --hash=sha256:e4094c7b464cf0a858e75cd14b03509e84789abf7b79f8537e6a72152109c76e \ + --hash=sha256:e4760a68cab57bfaa628938e9c2971137e05ce48e762a9cb53b76c9b569f1204 \ + --hash=sha256:eb09b82377233b902d4c3fbeeb7ad731cdab579c6c6fda1f763cd779139e47c3 \ + --hash=sha256:eb862356ee9391dc5a0b3cbc00f416b48c1b9a52d252d898e5b7696a5f9fe150 \ + --hash=sha256:ef9528915df81b8f4c7612b19b8628214c65c9b7f74db2e34a646a0a2a0da2d4 \ + --hash=sha256:f3157624b7558b914cb039fd1af735e5e8049a87c817cc215109ad1c8779df76 \ + --hash=sha256:f3e0992f23bbb0be00a921eae5363329253c3b86287db27092461c887b791e5e \ + --hash=sha256:f9338cc05451f1942d0d8203ec2c346c830f8e86469903d5126c1f0a13a2bcbb \ + --hash=sha256:ffef8fd58a36fb5f1196919638f73dd3ae0db1a878982b27a9a5a176ede4ba91 colorama==0.4.6 ; python_full_version >= "3.9.0" and python_version < "3.13" and sys_platform == "win32" \ --hash=sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44 \ --hash=sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6 colorlog==6.8.2 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:3e3e079a41feb5a1b64f978b5ea4f46040a94f11f0e8bbb8261e3dbbeca64d44 \ --hash=sha256:4dcbb62368e2800cb3c5abd348da7e53f6c362dda502ec27c560b2e58a66bd33 -coverage[toml]==7.6.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ - --hash=sha256:0086cd4fc71b7d485ac93ca4239c8f75732c2ae3ba83f6be1c9be59d9e2c6382 \ - --hash=sha256:01c322ef2bbe15057bc4bf132b525b7e3f7206f071799eb8aa6ad1940bcf5fb1 \ - --hash=sha256:03cafe82c1b32b770a29fd6de923625ccac3185a54a5e66606da26d105f37dac \ - --hash=sha256:044a0985a4f25b335882b0966625270a8d9db3d3409ddc49a4eb00b0ef5e8cee \ - --hash=sha256:07ed352205574aad067482e53dd606926afebcb5590653121063fbf4e2175166 \ - --hash=sha256:0d1b923fc4a40c5832be4f35a5dab0e5ff89cddf83bb4174499e02ea089daf57 \ - --hash=sha256:0e7b27d04131c46e6894f23a4ae186a6a2207209a05df5b6ad4caee6d54a222c \ - --hash=sha256:1fad32ee9b27350687035cb5fdf9145bc9cf0a094a9577d43e909948ebcfa27b \ - --hash=sha256:289cc803fa1dc901f84701ac10c9ee873619320f2f9aff38794db4a4a0268d51 \ - --hash=sha256:3c59105f8d58ce500f348c5b56163a4113a440dad6daa2294b5052a10db866da \ - --hash=sha256:46c3d091059ad0b9c59d1034de74a7f36dcfa7f6d3bde782c49deb42438f2450 \ - --hash=sha256:482855914928c8175735a2a59c8dc5806cf7d8f032e4820d52e845d1f731dca2 \ - --hash=sha256:49c76cdfa13015c4560702574bad67f0e15ca5a2872c6a125f6327ead2b731dd \ - --hash=sha256:4b03741e70fb811d1a9a1d75355cf391f274ed85847f4b78e35459899f57af4d \ - --hash=sha256:4bea27c4269234e06f621f3fac3925f56ff34bc14521484b8f66a580aacc2e7d \ - --hash=sha256:4d5fae0a22dc86259dee66f2cc6c1d3e490c4a1214d7daa2a93d07491c5c04b6 \ - --hash=sha256:543ef9179bc55edfd895154a51792b01c017c87af0ebaae092720152e19e42ca \ - --hash=sha256:54dece71673b3187c86226c3ca793c5f891f9fc3d8aa183f2e3653da18566169 \ - --hash=sha256:6379688fb4cfa921ae349c76eb1a9ab26b65f32b03d46bb0eed841fd4cb6afb1 \ - --hash=sha256:65fa405b837060db569a61ec368b74688f429b32fa47a8929a7a2f9b47183713 \ - --hash=sha256:6616d1c9bf1e3faea78711ee42a8b972367d82ceae233ec0ac61cc7fec09fa6b \ - --hash=sha256:6fe885135c8a479d3e37a7aae61cbd3a0fb2deccb4dda3c25f92a49189f766d6 \ - --hash=sha256:7221f9ac9dad9492cecab6f676b3eaf9185141539d5c9689d13fd6b0d7de840c \ - --hash=sha256:76d5f82213aa78098b9b964ea89de4617e70e0d43e97900c2778a50856dac605 \ - --hash=sha256:7792f0ab20df8071d669d929c75c97fecfa6bcab82c10ee4adb91c7a54055463 \ - --hash=sha256:831b476d79408ab6ccfadaaf199906c833f02fdb32c9ab907b1d4aa0713cfa3b \ - --hash=sha256:9146579352d7b5f6412735d0f203bbd8d00113a680b66565e205bc605ef81bc6 \ - --hash=sha256:9cc44bf0315268e253bf563f3560e6c004efe38f76db03a1558274a6e04bf5d5 \ - --hash=sha256:a73d18625f6a8a1cbb11eadc1d03929f9510f4131879288e3f7922097a429f63 \ - --hash=sha256:a8659fd33ee9e6ca03950cfdcdf271d645cf681609153f218826dd9805ab585c \ - --hash=sha256:a94925102c89247530ae1dab7dc02c690942566f22e189cbd53579b0693c0783 \ - --hash=sha256:ad4567d6c334c46046d1c4c20024de2a1c3abc626817ae21ae3da600f5779b44 \ - --hash=sha256:b2e16f4cd2bc4d88ba30ca2d3bbf2f21f00f382cf4e1ce3b1ddc96c634bc48ca \ - --hash=sha256:bbdf9a72403110a3bdae77948b8011f644571311c2fb35ee15f0f10a8fc082e8 \ - --hash=sha256:beb08e8508e53a568811016e59f3234d29c2583f6b6e28572f0954a6b4f7e03d \ - --hash=sha256:c4cbe651f3904e28f3a55d6f371203049034b4ddbce65a54527a3f189ca3b390 \ - --hash=sha256:c7b525ab52ce18c57ae232ba6f7010297a87ced82a2383b1afd238849c1ff933 \ - --hash=sha256:ca5d79cfdae420a1d52bf177de4bc2289c321d6c961ae321503b2ca59c17ae67 \ - --hash=sha256:cdab02a0a941af190df8782aafc591ef3ad08824f97850b015c8c6a8b3877b0b \ - --hash=sha256:d17c6a415d68cfe1091d3296ba5749d3d8696e42c37fca5d4860c5bf7b729f03 \ - --hash=sha256:d39bd10f0ae453554798b125d2f39884290c480f56e8a02ba7a6ed552005243b \ - --hash=sha256:d4b3cd1ca7cd73d229487fa5caca9e4bc1f0bca96526b922d61053ea751fe791 \ - --hash=sha256:d50a252b23b9b4dfeefc1f663c568a221092cbaded20a05a11665d0dbec9b8fb \ - --hash=sha256:da8549d17489cd52f85a9829d0e1d91059359b3c54a26f28bec2c5d369524807 \ - --hash=sha256:dcd070b5b585b50e6617e8972f3fbbee786afca71b1936ac06257f7e178f00f6 \ - --hash=sha256:ddaaa91bfc4477d2871442bbf30a125e8fe6b05da8a0015507bfbf4718228ab2 \ - --hash=sha256:df423f351b162a702c053d5dddc0fc0ef9a9e27ea3f449781ace5f906b664428 \ - --hash=sha256:dff044f661f59dace805eedb4a7404c573b6ff0cdba4a524141bc63d7be5c7fd \ - --hash=sha256:e7e128f85c0b419907d1f38e616c4f1e9f1d1b37a7949f44df9a73d5da5cd53c \ - --hash=sha256:ed8d1d1821ba5fc88d4a4f45387b65de52382fa3ef1f0115a4f7a20cdfab0e94 \ - --hash=sha256:f2501d60d7497fd55e391f423f965bbe9e650e9ffc3c627d5f0ac516026000b8 \ - --hash=sha256:f7db0b6ae1f96ae41afe626095149ecd1b212b424626175a6633c2999eaad45b +coverage[toml]==7.6.1 ; python_full_version >= "3.9.0" and python_version < "3.13" \ + --hash=sha256:06a737c882bd26d0d6ee7269b20b12f14a8704807a01056c80bb881a4b2ce6ca \ + --hash=sha256:07e2ca0ad381b91350c0ed49d52699b625aab2b44b65e1b4e02fa9df0e92ad2d \ + --hash=sha256:0c0420b573964c760df9e9e86d1a9a622d0d27f417e1a949a8a66dd7bcee7bc6 \ + --hash=sha256:0dbde0f4aa9a16fa4d754356a8f2e36296ff4d83994b2c9d8398aa32f222f989 \ + --hash=sha256:1125ca0e5fd475cbbba3bb67ae20bd2c23a98fac4e32412883f9bcbaa81c314c \ + --hash=sha256:13b0a73a0896988f053e4fbb7de6d93388e6dd292b0d87ee51d106f2c11b465b \ + --hash=sha256:166811d20dfea725e2e4baa71fffd6c968a958577848d2131f39b60043400223 \ + --hash=sha256:170d444ab405852903b7d04ea9ae9b98f98ab6d7e63e1115e82620807519797f \ + --hash=sha256:1f4aa8219db826ce6be7099d559f8ec311549bfc4046f7f9fe9b5cea5c581c56 \ + --hash=sha256:225667980479a17db1048cb2bf8bfb39b8e5be8f164b8f6628b64f78a72cf9d3 \ + --hash=sha256:260933720fdcd75340e7dbe9060655aff3af1f0c5d20f46b57f262ab6c86a5e8 \ + --hash=sha256:2bdb062ea438f22d99cba0d7829c2ef0af1d768d1e4a4f528087224c90b132cb \ + --hash=sha256:2c09f4ce52cb99dd7505cd0fc8e0e37c77b87f46bc9c1eb03fe3bc9991085388 \ + --hash=sha256:3115a95daa9bdba70aea750db7b96b37259a81a709223c8448fa97727d546fe0 \ + --hash=sha256:3e0cadcf6733c09154b461f1ca72d5416635e5e4ec4e536192180d34ec160f8a \ + --hash=sha256:3f1156e3e8f2872197af3840d8ad307a9dd18e615dc64d9ee41696f287c57ad8 \ + --hash=sha256:4421712dbfc5562150f7554f13dde997a2e932a6b5f352edcce948a815efee6f \ + --hash=sha256:44df346d5215a8c0e360307d46ffaabe0f5d3502c8a1cefd700b34baf31d411a \ + --hash=sha256:502753043567491d3ff6d08629270127e0c31d4184c4c8d98f92c26f65019962 \ + --hash=sha256:547f45fa1a93154bd82050a7f3cddbc1a7a4dd2a9bf5cb7d06f4ae29fe94eaf8 \ + --hash=sha256:5621a9175cf9d0b0c84c2ef2b12e9f5f5071357c4d2ea6ca1cf01814f45d2391 \ + --hash=sha256:609b06f178fe8e9f89ef676532760ec0b4deea15e9969bf754b37f7c40326dbc \ + --hash=sha256:645786266c8f18a931b65bfcefdbf6952dd0dea98feee39bd188607a9d307ed2 \ + --hash=sha256:6878ef48d4227aace338d88c48738a4258213cd7b74fd9a3d4d7582bb1d8a155 \ + --hash=sha256:6a89ecca80709d4076b95f89f308544ec8f7b4727e8a547913a35f16717856cb \ + --hash=sha256:6db04803b6c7291985a761004e9060b2bca08da6d04f26a7f2294b8623a0c1a0 \ + --hash=sha256:6e2cd258d7d927d09493c8df1ce9174ad01b381d4729a9d8d4e38670ca24774c \ + --hash=sha256:6e81d7a3e58882450ec4186ca59a3f20a5d4440f25b1cff6f0902ad890e6748a \ + --hash=sha256:702855feff378050ae4f741045e19a32d57d19f3e0676d589df0575008ea5004 \ + --hash=sha256:78b260de9790fd81e69401c2dc8b17da47c8038176a79092a89cb2b7d945d060 \ + --hash=sha256:7bb65125fcbef8d989fa1dd0e8a060999497629ca5b0efbca209588a73356232 \ + --hash=sha256:7dea0889685db8550f839fa202744652e87c60015029ce3f60e006f8c4462c93 \ + --hash=sha256:8284cf8c0dd272a247bc154eb6c95548722dce90d098c17a883ed36e67cdb129 \ + --hash=sha256:877abb17e6339d96bf08e7a622d05095e72b71f8afd8a9fefc82cf30ed944163 \ + --hash=sha256:8929543a7192c13d177b770008bc4e8119f2e1f881d563fc6b6305d2d0ebe9de \ + --hash=sha256:8ae539519c4c040c5ffd0632784e21b2f03fc1340752af711f33e5be83a9d6c6 \ + --hash=sha256:8f59d57baca39b32db42b83b2a7ba6f47ad9c394ec2076b084c3f029b7afca23 \ + --hash=sha256:9054a0754de38d9dbd01a46621636689124d666bad1936d76c0341f7d71bf569 \ + --hash=sha256:953510dfb7b12ab69d20135a0662397f077c59b1e6379a768e97c59d852ee51d \ + --hash=sha256:95cae0efeb032af8458fc27d191f85d1717b1d4e49f7cb226cf526ff28179778 \ + --hash=sha256:9bc572be474cafb617672c43fe989d6e48d3c83af02ce8de73fff1c6bb3c198d \ + --hash=sha256:9c56863d44bd1c4fe2abb8a4d6f5371d197f1ac0ebdee542f07f35895fc07f36 \ + --hash=sha256:9e0b2df163b8ed01d515807af24f63de04bebcecbd6c3bfeff88385789fdf75a \ + --hash=sha256:a09ece4a69cf399510c8ab25e0950d9cf2b42f7b3cb0374f95d2e2ff594478a6 \ + --hash=sha256:a1ac0ae2b8bd743b88ed0502544847c3053d7171a3cff9228af618a068ed9c34 \ + --hash=sha256:a318d68e92e80af8b00fa99609796fdbcdfef3629c77c6283566c6f02c6d6704 \ + --hash=sha256:a4acd025ecc06185ba2b801f2de85546e0b8ac787cf9d3b06e7e2a69f925b106 \ + --hash=sha256:a6d3adcf24b624a7b778533480e32434a39ad8fa30c315208f6d3e5542aeb6e9 \ + --hash=sha256:a78d169acd38300060b28d600344a803628c3fd585c912cacc9ea8790fe96862 \ + --hash=sha256:a95324a9de9650a729239daea117df21f4b9868ce32e63f8b650ebe6cef5595b \ + --hash=sha256:abd5fd0db5f4dc9289408aaf34908072f805ff7792632250dcb36dc591d24255 \ + --hash=sha256:b06079abebbc0e89e6163b8e8f0e16270124c154dc6e4a47b413dd538859af16 \ + --hash=sha256:b43c03669dc4618ec25270b06ecd3ee4fa94c7f9b3c14bae6571ca00ef98b0d3 \ + --hash=sha256:b48f312cca9621272ae49008c7f613337c53fadca647d6384cc129d2996d1133 \ + --hash=sha256:b5d7b556859dd85f3a541db6a4e0167b86e7273e1cdc973e5b175166bb634fdb \ + --hash=sha256:b9f222de8cded79c49bf184bdbc06630d4c58eec9459b939b4a690c82ed05657 \ + --hash=sha256:c3c02d12f837d9683e5ab2f3d9844dc57655b92c74e286c262e0fc54213c216d \ + --hash=sha256:c44fee9975f04b33331cb8eb272827111efc8930cfd582e0320613263ca849ca \ + --hash=sha256:cf4b19715bccd7ee27b6b120e7e9dd56037b9c0681dcc1adc9ba9db3d417fa36 \ + --hash=sha256:d0c212c49b6c10e6951362f7c6df3329f04c2b1c28499563d4035d964ab8e08c \ + --hash=sha256:d3296782ca4eab572a1a4eca686d8bfb00226300dcefdf43faa25b5242ab8a3e \ + --hash=sha256:d85f5e9a5f8b73e2350097c3756ef7e785f55bd71205defa0bfdaf96c31616ff \ + --hash=sha256:da511e6ad4f7323ee5702e6633085fb76c2f893aaf8ce4c51a0ba4fc07580ea7 \ + --hash=sha256:e05882b70b87a18d937ca6768ff33cc3f72847cbc4de4491c8e73880766718e5 \ + --hash=sha256:e61c0abb4c85b095a784ef23fdd4aede7a2628478e7baba7c5e3deba61070a02 \ + --hash=sha256:e6a08c0be454c3b3beb105c0596ebdc2371fab6bb90c0c0297f4e58fd7e1012c \ + --hash=sha256:e9a6e0eb86070e8ccaedfbd9d38fec54864f3125ab95419970575b42af7541df \ + --hash=sha256:ed37bd3c3b063412f7620464a9ac1314d33100329f39799255fb8d3027da50d3 \ + --hash=sha256:f1adfc8ac319e1a348af294106bc6a8458a0f1633cc62a1446aebc30c5fa186a \ + --hash=sha256:f5796e664fe802da4f57a168c85359a8fbf3eab5e55cd4e4569fbacecc903959 \ + --hash=sha256:fc5a77d0c516700ebad189b587de289a20a78324bc54baee03dd486f0855d234 \ + --hash=sha256:fd21f6ae3f08b41004dfb433fa895d858f3f5979e7762d052b12aef444e29afc distlib==0.3.8 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:034db59a0b96f8ca18035f36290806a9a6e6bd9d1ff91e45a7f172eb17e51784 \ --hash=sha256:1530ea13e350031b6312d8580ddb6b27a104275a31106523b8f123787f494f64 @@ -216,34 +251,34 @@ mock==5.1.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ mypy-extensions==1.0.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:4392f6c0eb8a5668a69e23d168ffa70f0be9ccfd32b5cc2d26a34ae5b844552d \ --hash=sha256:75dbf8955dc00442a438fc4d0666508a9a97b6bd41aa2f0ffe9d2f2725af0782 -mypy==1.11.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ - --hash=sha256:0bea2a0e71c2a375c9fa0ede3d98324214d67b3cbbfcbd55ac8f750f85a414e3 \ - --hash=sha256:104e9c1620c2675420abd1f6c44bab7dd33cc85aea751c985006e83dcd001095 \ - --hash=sha256:14f9294528b5f5cf96c721f231c9f5b2733164e02c1c018ed1a0eff8a18005ac \ - --hash=sha256:1a5d8d8dd8613a3e2be3eae829ee891b6b2de6302f24766ff06cb2875f5be9c6 \ - --hash=sha256:1d44c1e44a8be986b54b09f15f2c1a66368eb43861b4e82573026e04c48a9e20 \ - --hash=sha256:25bcfa75b9b5a5f8d67147a54ea97ed63a653995a82798221cca2a315c0238c1 \ - --hash=sha256:35ce88b8ed3a759634cb4eb646d002c4cef0a38f20565ee82b5023558eb90c00 \ - --hash=sha256:56913ec8c7638b0091ef4da6fcc9136896914a9d60d54670a75880c3e5b99ace \ - --hash=sha256:65f190a6349dec29c8d1a1cd4aa71284177aee5949e0502e6379b42873eddbe7 \ - --hash=sha256:6801319fe76c3f3a3833f2b5af7bd2c17bb93c00026a2a1b924e6762f5b19e13 \ - --hash=sha256:72596a79bbfb195fd41405cffa18210af3811beb91ff946dbcb7368240eed6be \ - --hash=sha256:93743608c7348772fdc717af4aeee1997293a1ad04bc0ea6efa15bf65385c538 \ - --hash=sha256:940bfff7283c267ae6522ef926a7887305945f716a7704d3344d6d07f02df850 \ - --hash=sha256:96f8dbc2c85046c81bcddc246232d500ad729cb720da4e20fce3b542cab91287 \ - --hash=sha256:98790025861cb2c3db8c2f5ad10fc8c336ed2a55f4daf1b8b3f877826b6ff2eb \ - --hash=sha256:a3824187c99b893f90c845bab405a585d1ced4ff55421fdf5c84cb7710995229 \ - --hash=sha256:a83ec98ae12d51c252be61521aa5731f5512231d0b738b4cb2498344f0b840cd \ - --hash=sha256:becc9111ca572b04e7e77131bc708480cc88a911adf3d0239f974c034b78085c \ - --hash=sha256:c1a184c64521dc549324ec6ef7cbaa6b351912be9cb5edb803c2808a0d7e85ac \ - --hash=sha256:c7b73a856522417beb78e0fb6d33ef89474e7a622db2653bc1285af36e2e3e3d \ - --hash=sha256:cea3d0fb69637944dd321f41bc896e11d0fb0b0aa531d887a6da70f6e7473aba \ - --hash=sha256:d2b3d36baac48e40e3064d2901f2fbd2a2d6880ec6ce6358825c85031d7c0d4d \ - --hash=sha256:d7b54c27783991399046837df5c7c9d325d921394757d09dbcbf96aee4649fe9 \ - --hash=sha256:d8e2e43977f0e09f149ea69fd0556623919f816764e26d74da0c8a7b48f3e18a \ - --hash=sha256:dbe286303241fea8c2ea5466f6e0e6a046a135a7e7609167b07fd4e7baf151bf \ - --hash=sha256:f006e955718ecd8d159cee9932b64fba8f86ee6f7728ca3ac66c3a54b0062abe \ - --hash=sha256:f2268d9fcd9686b61ab64f077be7ffbc6fbcdfb4103e5dd0cc5eaab53a8886c2 +mypy==1.11.1 ; python_full_version >= "3.9.0" and python_version < "3.13" \ + --hash=sha256:0624bdb940255d2dd24e829d99a13cfeb72e4e9031f9492148f410ed30bcab54 \ + --hash=sha256:0bc71d1fb27a428139dd78621953effe0d208aed9857cb08d002280b0422003a \ + --hash=sha256:0bd53faf56de9643336aeea1c925012837432b5faf1701ccca7fde70166ccf72 \ + --hash=sha256:11965c2f571ded6239977b14deebd3f4c3abd9a92398712d6da3a772974fad69 \ + --hash=sha256:1a81cf05975fd61aec5ae16501a091cfb9f605dc3e3c878c0da32f250b74760b \ + --hash=sha256:2684d3f693073ab89d76da8e3921883019ea8a3ec20fa5d8ecca6a2db4c54bbe \ + --hash=sha256:2c63350af88f43a66d3dfeeeb8d77af34a4f07d760b9eb3a8697f0386c7590b4 \ + --hash=sha256:45df906e8b6804ef4b666af29a87ad9f5921aad091c79cc38e12198e220beabd \ + --hash=sha256:4c956b49c5d865394d62941b109728c5c596a415e9c5b2be663dd26a1ff07bc0 \ + --hash=sha256:64f4a90e3ea07f590c5bcf9029035cf0efeae5ba8be511a8caada1a4893f5525 \ + --hash=sha256:749fd3213916f1751fff995fccf20c6195cae941dc968f3aaadf9bb4e430e5a2 \ + --hash=sha256:79c07eb282cb457473add5052b63925e5cc97dfab9812ee65a7c7ab5e3cb551c \ + --hash=sha256:7b6343d338390bb946d449677726edf60102a1c96079b4f002dedff375953fc5 \ + --hash=sha256:886c9dbecc87b9516eff294541bf7f3655722bf22bb898ee06985cd7269898de \ + --hash=sha256:a2b43895a0f8154df6519706d9bca8280cda52d3d9d1514b2d9c3e26792a0b74 \ + --hash=sha256:a32fc80b63de4b5b3e65f4be82b4cfa362a46702672aa6a0f443b4689af7008c \ + --hash=sha256:a707ec1527ffcdd1c784d0924bf5cb15cd7f22683b919668a04d2b9c34549d2e \ + --hash=sha256:a831671bad47186603872a3abc19634f3011d7f83b083762c942442d51c58d58 \ + --hash=sha256:b639dce63a0b19085213ec5fdd8cffd1d81988f47a2dec7100e93564f3e8fb3b \ + --hash=sha256:b868d3bcff720dd7217c383474008ddabaf048fad8d78ed948bb4b624870a417 \ + --hash=sha256:c1952f5ea8a5a959b05ed5f16452fddadbaae48b5d39235ab4c3fc444d5fd411 \ + --hash=sha256:d44be7551689d9d47b7abc27c71257adfdb53f03880841a5db15ddb22dc63edb \ + --hash=sha256:e1e30dc3bfa4e157e53c1d17a0dad20f89dc433393e7702b813c10e200843b03 \ + --hash=sha256:e4fe9f4e5e521b458d8feb52547f4bade7ef8c93238dfb5bbc790d9ff2d770ca \ + --hash=sha256:f39918a50f74dc5969807dcfaecafa804fa7f90c9d60506835036cc1bc891dc8 \ + --hash=sha256:f404a0b069709f18bbdb702eb3dcfe51910602995de00bd39cea3050b5772d08 \ + --hash=sha256:fca4a60e1dd9fd0193ae0067eaeeb962f2d79e0d9f0f66223a0682f26ffcc809 nodeenv==1.9.1 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:6ec12890a2dab7946721edbfbcd91f3319c6ccc9aec47be7c7e6b7011ee6645f \ --hash=sha256:ba11c9782d29c27c70ffbdda2d7415098754709be8a7056d79a737cd901155c9 @@ -358,9 +393,9 @@ pydantic-core==2.20.1 ; python_full_version >= "3.9.0" and python_version < "3.1 pydantic==2.8.2 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:6f62c13d067b0755ad1c21a34bdd06c0c12625a22b0fc09c6b149816604f7c2a \ --hash=sha256:73ee9fddd406dc318b885c7a2eab8a6472b68b8fb5ba8150949fc3db939f23c8 -pyright==1.1.373 ; python_full_version >= "3.9.0" and python_version < "3.13" \ - --hash=sha256:b805413227f2c209f27b14b55da27fe5e9fb84129c9f1eb27708a5d12f6f000e \ - --hash=sha256:f41bcfc8b9d1802b09921a394d6ae1ce19694957b628bc657629688daf8a83ff +pyright==1.1.375 ; python_full_version >= "3.9.0" and python_version < "3.13" \ + --hash=sha256:4c5e27eddeaee8b41cc3120736a1dda6ae120edf8523bb2446b6073a52f286e3 \ + --hash=sha256:7765557b0d6782b2fadabff455da2014476404c9e9214f49977a4e49dec19a0f pytest-cov==5.0.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:4f0764a1219df53214206bf1feea4633c3b558a2925c8b59f144f682861ce652 \ --hash=sha256:5837b58e9f6ebd335b0f8060eecce69b662415b16dc503883a02f45dfeb14857 @@ -388,9 +423,9 @@ termcolor==2.4.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ tomli==2.0.1 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc \ --hash=sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f -trio==0.26.0 ; python_full_version >= "3.9.0" and python_version < "3.13" \ - --hash=sha256:67c5ec3265dd4abc7b1d1ab9ca4fe4c25b896f9c93dac73713778adab487f9c4 \ - --hash=sha256:bb9c1b259591af941fccfbabbdc65bc7ed764bd2db76428454c894cd5e3d2032 +trio==0.26.2 ; python_full_version >= "3.9.0" and python_version < "3.13" \ + --hash=sha256:0346c3852c15e5c7d40ea15972c4805689ef2cb8b5206f794c9c19450119f3a4 \ + --hash=sha256:c5237e8133eb0a1d72f09a971a55c28ebe69e351c783fc64bc37db8db8bbe1d0 typing-extensions==4.12.2 ; python_full_version >= "3.9.0" and python_version < "3.13" \ --hash=sha256:04e5ca0351e0f3f85c6853954072df659d0d13fac324d0072316b67d7794700d \ --hash=sha256:1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8 From 61fbed752395b3d4825b11cd5d54486b58dea6bf Mon Sep 17 00:00:00 2001 From: FasterSpeeding Date: Sun, 11 Aug 2024 14:34:58 +0100 Subject: [PATCH 04/29] Update _client.py --- alluka/_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alluka/_client.py b/alluka/_client.py index eb9747fa..e06974ff 100644 --- a/alluka/_client.py +++ b/alluka/_client.py @@ -172,7 +172,7 @@ def __init__(self, *, introspect_annotations: bool = True) -> None: ] = weakref.WeakKeyDictionary() self._introspect_annotations = introspect_annotations static_context = _context.Context(self) - self._make_context: collections.Callable[[Self], alluka.Context] = lambda _: static_context # pyright: ignore + self._make_context: collections.Callable[[Self], alluka.Context] = lambda _: static_context self._type_dependencies: dict[type[typing.Any], typing.Any] = {alluka.Client: self, Client: self} def _build_descriptors(self, callback: alluka.CallbackSig[typing.Any], /) -> dict[str, _types.InjectedTuple]: From b95e3cd0645895f4e84d6007590db66e64d220e6 Mon Sep 17 00:00:00 2001 From: FasterSpeeding Date: Sun, 11 Aug 2024 14:37:28 +0100 Subject: [PATCH 05/29] Update test_async_callback_di.py --- tests/test_async_callback_di.py | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/tests/test_async_callback_di.py b/tests/test_async_callback_di.py index c9a86426..1460d56e 100644 --- a/tests/test_async_callback_di.py +++ b/tests/test_async_callback_di.py @@ -105,7 +105,7 @@ async def dependency( async def callback( value_1: int, value_2: str, - value_3: alluka.Injected[str] = alluka.inject(type=MockType), + value_3: alluka.Injected[str] = alluka.inject(type=MockType), # type: ignore value_4: typing.Annotated[int, alluka.inject(type=float)] = alluka.inject(type=MockOtherType), value_5: typing.Annotated[str, alluka.inject(callback=mock.Mock)] = alluka.inject(callback=dependency), ) -> str: @@ -133,7 +133,7 @@ async def test_call_with_async_di_with_type_dependency_and_callback(context: all async def callback( value_1: int, value_2: str, - value_3: str = alluka.inject(type=MockType), + value_3: str = alluka.inject(type=MockType), # type: ignore value_4: int = alluka.inject(type=MockOtherType), value_5: typing.Any = alluka.inject(callback=mock_callback), ) -> str: @@ -160,7 +160,7 @@ async def test_call_with_async_di_with_type_dependency(context: alluka.Context): async def callback( value_1: int, value_2: str, - value_3: str = alluka.inject(type=MockType), + value_3: str = alluka.inject(type=MockType), # type: ignore value_4: int = alluka.inject(type=MockOtherType), ) -> str: assert value_1 == 69 @@ -235,7 +235,10 @@ async def test_call_with_async_di_with_type_dependency_not_found(context: alluka value = mock.Mock() async def callback( - _: int, value: str, __: str = alluka.inject(type=MockType), ___: int = alluka.inject(type=MockOtherType) + _: int, + value: str, + __: str = alluka.inject(type=MockType), # type: ignore + ___: int = alluka.inject(type=MockOtherType) # type: ignore ) -> str: raise NotImplementedError @@ -385,7 +388,9 @@ async def test_call_with_async_di_with_defaulting_union_type_dependency(context: context.injection_client.set_type_dependency(MockOtherType, value) async def callback( - value_1: int, value_2: str, cope: int = alluka.inject(type=typing.Union[MockType, MockOtherType, None]) + value_1: int, + value_2: str, + cope: int = alluka.inject(type=typing.Union[MockType, MockOtherType, None]) # type: ignore ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -1357,7 +1362,11 @@ async def callback( @pytest.mark.anyio async def test_call_with_async_di_with_positional_only_type_dependency(context: alluka.Context): - async def callback(_: int, __: str = alluka.inject(type=float), /, ___: float = alluka.inject(type=float)) -> None: + async def callback( + _: int, + __: str = alluka.inject(type=float), # type: ignore + /, + ___: float = alluka.inject(type=float)) -> None: raise NotImplementedError with pytest.raises(ValueError, match="Injected positional only arguments are not supported"): @@ -1381,7 +1390,9 @@ async def callback( async def test_call_with_async_di_with_sub_positional_only_callback_dependency(context: alluka.Context): sub_dependency = mock.Mock() - async def dependency(_: str = alluka.inject(callback=sub_dependency), /) -> str: + async def dependency( + _: str = alluka.inject(callback=sub_dependency), # type: ignore + /) -> str: raise NotImplementedError async def callback( From ae417dac796dec66a29cd3ae93eb550bd5bd7a23 Mon Sep 17 00:00:00 2001 From: "always-on-duty[bot]" <120557446+always-on-duty[bot]@users.noreply.github.com> Date: Sun, 11 Aug 2024 13:38:01 +0000 Subject: [PATCH 06/29] Reformat PR code --- tests/test_async_callback_di.py | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/tests/test_async_callback_di.py b/tests/test_async_callback_di.py index 1460d56e..e96f5438 100644 --- a/tests/test_async_callback_di.py +++ b/tests/test_async_callback_di.py @@ -238,7 +238,7 @@ async def callback( _: int, value: str, __: str = alluka.inject(type=MockType), # type: ignore - ___: int = alluka.inject(type=MockOtherType) # type: ignore + ___: int = alluka.inject(type=MockOtherType), # type: ignore ) -> str: raise NotImplementedError @@ -390,7 +390,7 @@ async def test_call_with_async_di_with_defaulting_union_type_dependency(context: async def callback( value_1: int, value_2: str, - cope: int = alluka.inject(type=typing.Union[MockType, MockOtherType, None]) # type: ignore + cope: int = alluka.inject(type=typing.Union[MockType, MockOtherType, None]), # type: ignore ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -1363,10 +1363,8 @@ async def callback( @pytest.mark.anyio async def test_call_with_async_di_with_positional_only_type_dependency(context: alluka.Context): async def callback( - _: int, - __: str = alluka.inject(type=float), # type: ignore - /, - ___: float = alluka.inject(type=float)) -> None: + _: int, __: str = alluka.inject(type=float), /, ___: float = alluka.inject(type=float) # type: ignore + ) -> None: raise NotImplementedError with pytest.raises(ValueError, match="Injected positional only arguments are not supported"): @@ -1390,9 +1388,7 @@ async def callback( async def test_call_with_async_di_with_sub_positional_only_callback_dependency(context: alluka.Context): sub_dependency = mock.Mock() - async def dependency( - _: str = alluka.inject(callback=sub_dependency), # type: ignore - /) -> str: + async def dependency(_: str = alluka.inject(callback=sub_dependency), /) -> str: # type: ignore raise NotImplementedError async def callback( From b79cf5c54d1448229681884ae29da041ef1440c9 Mon Sep 17 00:00:00 2001 From: FasterSpeeding Date: Sun, 11 Aug 2024 14:40:51 +0100 Subject: [PATCH 07/29] Update test_async_callback_di_future_annotations.py --- ...st_async_callback_di_future_annotations.py | 26 ++++++++++++++----- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/tests/test_async_callback_di_future_annotations.py b/tests/test_async_callback_di_future_annotations.py index 50798f7e..1f4467ab 100644 --- a/tests/test_async_callback_di_future_annotations.py +++ b/tests/test_async_callback_di_future_annotations.py @@ -108,7 +108,7 @@ async def dependency( async def callback( value_1: int, value_2: str, - value_3: alluka.Injected[str] = alluka.inject(type=MockType), + value_3: alluka.Injected[str] = alluka.inject(type=MockType), # type: ignore value_4: typing.Annotated[int, alluka.inject(type=float)] = alluka.inject(type=MockOtherType), value_5: typing.Annotated[str, alluka.inject(callback=mock.Mock)] = alluka.inject(callback=dependency), ) -> str: @@ -138,7 +138,7 @@ async def test_call_with_async_di_with_type_dependency_and_callback(context: all async def callback( value_1: int, value_2: str, - value_3: str = alluka.inject(type=MockType), + value_3: str = alluka.inject(type=MockType), # type: ignore value_4: int = alluka.inject(type=MockOtherType), value_5: typing.Any = alluka.inject(callback=mock_callback), ) -> str: @@ -167,7 +167,7 @@ async def test_call_with_async_di_with_type_dependency(context: alluka.Context): async def callback( value_1: int, value_2: str, - value_3: str = alluka.inject(type=MockType), + value_3: str = alluka.inject(type=MockType), # type: ignore value_4: int = alluka.inject(type=MockOtherType), ) -> str: assert value_1 == 69 @@ -248,7 +248,10 @@ async def test_call_with_async_di_with_type_dependency_not_found(context: alluka mock_value = mock.Mock() async def callback( - _: int, value_1: str, __: str = alluka.inject(type=MockType), ___: int = alluka.inject(type=MockOtherType) + _: int, + value_1: str, + __: str = alluka.inject(type=MockType), # type: ignore + ___: int = alluka.inject(type=MockOtherType) ) -> str: raise NotImplementedError @@ -398,7 +401,9 @@ async def test_call_with_async_di_with_defaulting_union_type_dependency(context: context.injection_client.set_type_dependency(MockOtherType, mock_value) async def callback( - value_1: int, value_2: str, cope: int = alluka.inject(type=typing.Union[MockType, MockOtherType, None]) + value_1: int, + value_2: str, + cope: int = alluka.inject(type=typing.Union[MockType, MockOtherType, None]) # type: ignore ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -1399,7 +1404,12 @@ async def callback( @pytest.mark.anyio async def test_call_with_async_di_with_positional_only_type_dependency(context: alluka.Context): - async def callback(_: int, __: str = alluka.inject(type=float), /, ___: float = alluka.inject(type=float)) -> None: + async def callback( + _: int, + __: str = alluka.inject(type=float), # type: ignore + /, + ___: float = alluka.inject(type=float) + ) -> None: raise NotImplementedError with pytest.raises(ValueError, match="Injected positional only arguments are not supported"): @@ -1437,7 +1447,9 @@ async def callback( @pytest.mark.anyio async def test_call_with_async_di_with_sub_positional_only_type_dependency(context: alluka.Context): - async def dependency(_: str = alluka.inject(type=int), /) -> str: + async def dependency( + _: str = alluka.inject(type=int), / # type: ignore +) -> str: raise NotImplementedError async def callback( From be99ac4831f9262e0cd1ce54d9881bd5164c7f89 Mon Sep 17 00:00:00 2001 From: "always-on-duty[bot]" <120557446+always-on-duty[bot]@users.noreply.github.com> Date: Sun, 11 Aug 2024 13:41:32 +0000 Subject: [PATCH 08/29] Reformat PR code --- tests/test_async_callback_di_future_annotations.py | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/tests/test_async_callback_di_future_annotations.py b/tests/test_async_callback_di_future_annotations.py index 1f4467ab..0a122988 100644 --- a/tests/test_async_callback_di_future_annotations.py +++ b/tests/test_async_callback_di_future_annotations.py @@ -251,7 +251,7 @@ async def callback( _: int, value_1: str, __: str = alluka.inject(type=MockType), # type: ignore - ___: int = alluka.inject(type=MockOtherType) + ___: int = alluka.inject(type=MockOtherType), ) -> str: raise NotImplementedError @@ -403,7 +403,7 @@ async def test_call_with_async_di_with_defaulting_union_type_dependency(context: async def callback( value_1: int, value_2: str, - cope: int = alluka.inject(type=typing.Union[MockType, MockOtherType, None]) # type: ignore + cope: int = alluka.inject(type=typing.Union[MockType, MockOtherType, None]), # type: ignore ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -1405,10 +1405,7 @@ async def callback( @pytest.mark.anyio async def test_call_with_async_di_with_positional_only_type_dependency(context: alluka.Context): async def callback( - _: int, - __: str = alluka.inject(type=float), # type: ignore - /, - ___: float = alluka.inject(type=float) + _: int, __: str = alluka.inject(type=float), /, ___: float = alluka.inject(type=float) # type: ignore ) -> None: raise NotImplementedError @@ -1447,9 +1444,7 @@ async def callback( @pytest.mark.anyio async def test_call_with_async_di_with_sub_positional_only_type_dependency(context: alluka.Context): - async def dependency( - _: str = alluka.inject(type=int), / # type: ignore -) -> str: + async def dependency(_: str = alluka.inject(type=int), /) -> str: # type: ignore raise NotImplementedError async def callback( From 8c800d5712daebd23ca8b3498ae692fd926ca4a2 Mon Sep 17 00:00:00 2001 From: FasterSpeeding Date: Sun, 11 Aug 2024 14:42:59 +0100 Subject: [PATCH 09/29] Update test_callback_di.py --- tests/test_callback_di.py | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/tests/test_callback_di.py b/tests/test_callback_di.py index 423a36cc..67b91806 100644 --- a/tests/test_callback_di.py +++ b/tests/test_callback_di.py @@ -104,7 +104,7 @@ def dependency( def callback( value_1: int, value_2: str, - value_3: alluka.Injected[str] = alluka.inject(type=MockType), + value_3: alluka.Injected[str] = alluka.inject(type=MockType), # type: ignore value_4: typing.Annotated[int, alluka.inject(type=float)] = alluka.inject(type=MockOtherType), value_5: typing.Annotated[str, alluka.inject(callback=mock.Mock)] = alluka.inject(callback=dependency), ) -> str: @@ -133,7 +133,7 @@ def test_call_with_di_with_type_dependency_and_callback(context: alluka.Context) def callback( value_1: int, value_2: str, - value_3: str = alluka.inject(type=MockType), + value_3: str = alluka.inject(type=MockType), # type: ignore value_4: int = alluka.inject(type=MockOtherType), value_5: typing.Any = alluka.inject(callback=mock_callback), ) -> str: @@ -161,7 +161,7 @@ def test_call_with_di_with_type_dependency(context: alluka.Context): def callback( value_1: int, value_2: str, - value_3: str = alluka.inject(type=MockType), + value_3: str = alluka.inject(type=MockType), # type: ignore value_4: int = alluka.inject(type=MockOtherType), ) -> str: assert value_1 == 69 @@ -239,7 +239,10 @@ def test_call_with_di_with_type_dependency_not_found(context: alluka.Context): mock_value = mock.Mock() def callback( - _: int, value_1: str, __: str = alluka.inject(type=MockType), ___: int = alluka.inject(type=MockOtherType) + _: int, + value_1: str, + __: str = alluka.inject(type=MockType), # type: ignore + ___: int = alluka.inject(type=MockOtherType) ) -> str: raise NotImplementedError @@ -378,7 +381,9 @@ def test_call_with_di_with_defaulting_union_type_dependency(context: alluka.Cont context.injection_client.set_type_dependency(MockOtherType, mock_value) def callback( - value_1: int, value_2: str, cope: int = alluka.inject(type=typing.Union[MockType, MockOtherType, None]) + value_1: int, + value_2: str, + cope: int = alluka.inject(type=typing.Union[MockType, MockOtherType, None]) # type: ignore ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -1243,7 +1248,12 @@ def callback(result: typing.Annotated[None, alluka.inject(callback=dependency)]) def test_call_with_di_with_positional_only_type_dependency(context: alluka.Context): - def callback(_: int, __: str = alluka.inject(type=float), /, ___: float = alluka.inject(type=float)) -> None: + def callback( + _: int, + __: str = alluka.inject(type=float), # type: ignore + /, + ___: float = alluka.inject(type=float) + ) -> None: raise NotImplementedError with pytest.raises(ValueError, match="Injected positional only arguments are not supported"): @@ -1278,7 +1288,9 @@ def callback( def test_call_with_di_with_sub_positional_only_type_dependency(context: alluka.Context): - def dependency(_: str = alluka.inject(type=int), /) -> str: + def dependency( + _: str = alluka.inject(type=int), / # type: ignore +) -> str: raise NotImplementedError def callback( From daa47488beeea512dc5d7315e5827e01bf591359 Mon Sep 17 00:00:00 2001 From: "always-on-duty[bot]" <120557446+always-on-duty[bot]@users.noreply.github.com> Date: Sun, 11 Aug 2024 13:43:29 +0000 Subject: [PATCH 10/29] Reformat PR code --- tests/test_callback_di.py | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/tests/test_callback_di.py b/tests/test_callback_di.py index 67b91806..e62e30fa 100644 --- a/tests/test_callback_di.py +++ b/tests/test_callback_di.py @@ -242,7 +242,7 @@ def callback( _: int, value_1: str, __: str = alluka.inject(type=MockType), # type: ignore - ___: int = alluka.inject(type=MockOtherType) + ___: int = alluka.inject(type=MockOtherType), ) -> str: raise NotImplementedError @@ -381,9 +381,9 @@ def test_call_with_di_with_defaulting_union_type_dependency(context: alluka.Cont context.injection_client.set_type_dependency(MockOtherType, mock_value) def callback( - value_1: int, + value_1: int, value_2: str, - cope: int = alluka.inject(type=typing.Union[MockType, MockOtherType, None]) # type: ignore + cope: int = alluka.inject(type=typing.Union[MockType, MockOtherType, None]), # type: ignore ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -1249,10 +1249,7 @@ def callback(result: typing.Annotated[None, alluka.inject(callback=dependency)]) def test_call_with_di_with_positional_only_type_dependency(context: alluka.Context): def callback( - _: int, - __: str = alluka.inject(type=float), # type: ignore - /, - ___: float = alluka.inject(type=float) + _: int, __: str = alluka.inject(type=float), /, ___: float = alluka.inject(type=float) # type: ignore ) -> None: raise NotImplementedError @@ -1288,9 +1285,7 @@ def callback( def test_call_with_di_with_sub_positional_only_type_dependency(context: alluka.Context): - def dependency( - _: str = alluka.inject(type=int), / # type: ignore -) -> str: + def dependency(_: str = alluka.inject(type=int), /) -> str: # type: ignore raise NotImplementedError def callback( From e25afeb437afccaa78a94492ef621a781bfecc63 Mon Sep 17 00:00:00 2001 From: FasterSpeeding Date: Sun, 11 Aug 2024 14:44:56 +0100 Subject: [PATCH 11/29] Update test_callback_di_future_annotations.py --- tests/test_callback_di_future_annotations.py | 26 ++++++++++++++------ 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/tests/test_callback_di_future_annotations.py b/tests/test_callback_di_future_annotations.py index 3667ae89..87ce7d80 100644 --- a/tests/test_callback_di_future_annotations.py +++ b/tests/test_callback_di_future_annotations.py @@ -105,7 +105,7 @@ def dependency( def callback( value_1: int, value_2: str, - value_3: alluka.Injected[str] = alluka.inject(type=MockType), + value_3: alluka.Injected[str] = alluka.inject(type=MockType), # type: ignore value_4: typing.Annotated[int, alluka.inject(type=float)] = alluka.inject(type=MockOtherType), value_5: typing.Annotated[str, alluka.inject(callback=mock.Mock)] = alluka.inject(callback=dependency), ) -> str: @@ -134,7 +134,7 @@ def test_call_with_di_with_type_dependency_and_callback(context: alluka.Context) def callback( value_1: int, value_2: str, - value_3: str = alluka.inject(type=MockType), + value_3: str = alluka.inject(type=MockType), # type: ignore value_4: int = alluka.inject(type=MockOtherType), value_5: typing.Any = alluka.inject(callback=mock_callback), ) -> str: @@ -162,7 +162,7 @@ def test_call_with_di_with_type_dependency(context: alluka.Context): def callback( value_1: int, value_2: str, - value_3: str = alluka.inject(type=MockType), + value_3: str = alluka.inject(type=MockType), # type: ignore value_4: int = alluka.inject(type=MockOtherType), ) -> str: assert value_1 == 69 @@ -240,7 +240,10 @@ def test_call_with_di_with_type_dependency_not_found(context: alluka.Context): mock_value = mock.Mock() def callback( - _: int, value_1: str, __: str = alluka.inject(type=MockType), ___: int = alluka.inject(type=MockOtherType) + _: int, + value_1: str, + __: str = alluka.inject(type=MockType), # type: ignore + ___: int = alluka.inject(type=MockOtherType) ) -> str: raise NotImplementedError @@ -379,7 +382,9 @@ def test_call_with_di_with_defaulting_union_type_dependency(context: alluka.Cont context.injection_client.set_type_dependency(MockOtherType, mock_value) def callback( - value_1: int, value_2: str, cope: int = alluka.inject(type=typing.Union[MockType, MockOtherType, None]) + value_1: int, + value_2: str, + cope: int = alluka.inject(type=typing.Union[MockType, MockOtherType, None]) # type: ignore ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -1256,7 +1261,12 @@ def callback(result: typing.Annotated[None, alluka.inject(callback=dependency)]) def test_call_with_di_with_positional_only_type_dependency(context: alluka.Context): - def callback(_: int, __: str = alluka.inject(type=float), /, ___: float = alluka.inject(type=float)) -> None: + def callback( + _: int, + __: str = alluka.inject(type=float), # type: ignore + /, + ___: float = alluka.inject(type=float) + ) -> None: raise NotImplementedError with pytest.raises(ValueError, match="Injected positional only arguments are not supported"): @@ -1291,7 +1301,9 @@ def callback( def test_call_with_di_with_sub_positional_only_type_dependency(context: alluka.Context): - def dependency(_: str = alluka.inject(type=int), /) -> str: + def dependency( + _: str = alluka.inject(type=int), # type: ignore + /) -> str: raise NotImplementedError def callback( From 794d49f25bd682b5519042768d9130037657dbb6 Mon Sep 17 00:00:00 2001 From: "always-on-duty[bot]" <120557446+always-on-duty[bot]@users.noreply.github.com> Date: Sun, 11 Aug 2024 13:45:31 +0000 Subject: [PATCH 12/29] Reformat PR code --- tests/test_callback_di_future_annotations.py | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/tests/test_callback_di_future_annotations.py b/tests/test_callback_di_future_annotations.py index 87ce7d80..d13713ff 100644 --- a/tests/test_callback_di_future_annotations.py +++ b/tests/test_callback_di_future_annotations.py @@ -243,7 +243,7 @@ def callback( _: int, value_1: str, __: str = alluka.inject(type=MockType), # type: ignore - ___: int = alluka.inject(type=MockOtherType) + ___: int = alluka.inject(type=MockOtherType), ) -> str: raise NotImplementedError @@ -384,7 +384,7 @@ def test_call_with_di_with_defaulting_union_type_dependency(context: alluka.Cont def callback( value_1: int, value_2: str, - cope: int = alluka.inject(type=typing.Union[MockType, MockOtherType, None]) # type: ignore + cope: int = alluka.inject(type=typing.Union[MockType, MockOtherType, None]), # type: ignore ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -1262,10 +1262,7 @@ def callback(result: typing.Annotated[None, alluka.inject(callback=dependency)]) def test_call_with_di_with_positional_only_type_dependency(context: alluka.Context): def callback( - _: int, - __: str = alluka.inject(type=float), # type: ignore - /, - ___: float = alluka.inject(type=float) + _: int, __: str = alluka.inject(type=float), /, ___: float = alluka.inject(type=float) # type: ignore ) -> None: raise NotImplementedError @@ -1301,9 +1298,7 @@ def callback( def test_call_with_di_with_sub_positional_only_type_dependency(context: alluka.Context): - def dependency( - _: str = alluka.inject(type=int), # type: ignore - /) -> str: + def dependency(_: str = alluka.inject(type=int), /) -> str: # type: ignore raise NotImplementedError def callback( From f5d4b6ab99b2a9ea6955c285c6bf753c11488c9f Mon Sep 17 00:00:00 2001 From: FasterSpeeding Date: Sun, 11 Aug 2024 14:55:00 +0100 Subject: [PATCH 13/29] Update test_async_callback_di.py --- tests/test_async_callback_di.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_async_callback_di.py b/tests/test_async_callback_di.py index e96f5438..6a55b585 100644 --- a/tests/test_async_callback_di.py +++ b/tests/test_async_callback_di.py @@ -238,7 +238,7 @@ async def callback( _: int, value: str, __: str = alluka.inject(type=MockType), # type: ignore - ___: int = alluka.inject(type=MockOtherType), # type: ignore + ___: int = alluka.inject(type=MockOtherType), ) -> str: raise NotImplementedError @@ -1388,7 +1388,7 @@ async def callback( async def test_call_with_async_di_with_sub_positional_only_callback_dependency(context: alluka.Context): sub_dependency = mock.Mock() - async def dependency(_: str = alluka.inject(callback=sub_dependency), /) -> str: # type: ignore + async def dependency(_: str = alluka.inject(callback=sub_dependency), /) -> str: raise NotImplementedError async def callback( @@ -1402,7 +1402,7 @@ async def callback( @pytest.mark.anyio async def test_call_with_async_di_with_sub_positional_only_type_dependency(context: alluka.Context): - async def dependency(_: str = alluka.inject(type=int), /) -> str: + async def dependency(_: int = alluka.inject(type=int), /) -> str: raise NotImplementedError async def callback( From 6b83c5bcb267280a710aabc398421858e2c27a17 Mon Sep 17 00:00:00 2001 From: FasterSpeeding Date: Sun, 11 Aug 2024 15:00:54 +0100 Subject: [PATCH 14/29] Update test_async_callback_di.py --- tests/test_async_callback_di.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/test_async_callback_di.py b/tests/test_async_callback_di.py index 6a55b585..3d95609b 100644 --- a/tests/test_async_callback_di.py +++ b/tests/test_async_callback_di.py @@ -133,7 +133,7 @@ async def test_call_with_async_di_with_type_dependency_and_callback(context: all async def callback( value_1: int, value_2: str, - value_3: str = alluka.inject(type=MockType), # type: ignore + value_3: MockType = alluka.inject(type=MockType), value_4: int = alluka.inject(type=MockOtherType), value_5: typing.Any = alluka.inject(callback=mock_callback), ) -> str: @@ -160,7 +160,7 @@ async def test_call_with_async_di_with_type_dependency(context: alluka.Context): async def callback( value_1: int, value_2: str, - value_3: str = alluka.inject(type=MockType), # type: ignore + value_3: MockType = alluka.inject(type=MockType), value_4: int = alluka.inject(type=MockOtherType), ) -> str: assert value_1 == 69 @@ -237,7 +237,7 @@ async def test_call_with_async_di_with_type_dependency_not_found(context: alluka async def callback( _: int, value: str, - __: str = alluka.inject(type=MockType), # type: ignore + __: MockType = alluka.inject(type=MockType), ___: int = alluka.inject(type=MockOtherType), ) -> str: raise NotImplementedError @@ -390,7 +390,7 @@ async def test_call_with_async_di_with_defaulting_union_type_dependency(context: async def callback( value_1: int, value_2: str, - cope: int = alluka.inject(type=typing.Union[MockType, MockOtherType, None]), # type: ignore + cope: typing.Union[MockType, MockOtherType, None] = alluka.inject(type=typing.Union[MockType, MockOtherType, None]), ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -1363,7 +1363,7 @@ async def callback( @pytest.mark.anyio async def test_call_with_async_di_with_positional_only_type_dependency(context: alluka.Context): async def callback( - _: int, __: str = alluka.inject(type=float), /, ___: float = alluka.inject(type=float) # type: ignore + _: int, __: float = alluka.inject(type=float), /, ___: float = alluka.inject(type=float)x ) -> None: raise NotImplementedError From 91d459f90ffe474ca87486b4dede0fdc9b1cd15d Mon Sep 17 00:00:00 2001 From: FasterSpeeding Date: Sun, 11 Aug 2024 15:02:32 +0100 Subject: [PATCH 15/29] Update test_async_callback_di_future_annotations.py --- tests/test_async_callback_di_future_annotations.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/test_async_callback_di_future_annotations.py b/tests/test_async_callback_di_future_annotations.py index 0a122988..eae61ad4 100644 --- a/tests/test_async_callback_di_future_annotations.py +++ b/tests/test_async_callback_di_future_annotations.py @@ -138,7 +138,7 @@ async def test_call_with_async_di_with_type_dependency_and_callback(context: all async def callback( value_1: int, value_2: str, - value_3: str = alluka.inject(type=MockType), # type: ignore + value_3: MockType = alluka.inject(type=MockType), value_4: int = alluka.inject(type=MockOtherType), value_5: typing.Any = alluka.inject(callback=mock_callback), ) -> str: @@ -167,7 +167,7 @@ async def test_call_with_async_di_with_type_dependency(context: alluka.Context): async def callback( value_1: int, value_2: str, - value_3: str = alluka.inject(type=MockType), # type: ignore + value_3: MockType = alluka.inject(type=MockType), value_4: int = alluka.inject(type=MockOtherType), ) -> str: assert value_1 == 69 @@ -250,7 +250,7 @@ async def test_call_with_async_di_with_type_dependency_not_found(context: alluka async def callback( _: int, value_1: str, - __: str = alluka.inject(type=MockType), # type: ignore + __: MockType = alluka.inject(type=MockType), ___: int = alluka.inject(type=MockOtherType), ) -> str: raise NotImplementedError @@ -403,7 +403,7 @@ async def test_call_with_async_di_with_defaulting_union_type_dependency(context: async def callback( value_1: int, value_2: str, - cope: int = alluka.inject(type=typing.Union[MockType, MockOtherType, None]), # type: ignore + cope: typing.Union[MockType, MockOtherType, None] = alluka.inject(type=typing.Union[MockType, MockOtherType, None]), ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -1405,7 +1405,7 @@ async def callback( @pytest.mark.anyio async def test_call_with_async_di_with_positional_only_type_dependency(context: alluka.Context): async def callback( - _: int, __: str = alluka.inject(type=float), /, ___: float = alluka.inject(type=float) # type: ignore + _: int, __: float = alluka.inject(type=float), /, ___: float = alluka.inject(type=float) ) -> None: raise NotImplementedError @@ -1444,7 +1444,7 @@ async def callback( @pytest.mark.anyio async def test_call_with_async_di_with_sub_positional_only_type_dependency(context: alluka.Context): - async def dependency(_: str = alluka.inject(type=int), /) -> str: # type: ignore + async def dependency(_: int = alluka.inject(type=int), /) -> str: raise NotImplementedError async def callback( From 83a66108071c57a3de0e173bbca04e31893c7bf5 Mon Sep 17 00:00:00 2001 From: FasterSpeeding Date: Sun, 11 Aug 2024 15:04:14 +0100 Subject: [PATCH 16/29] Update test_callback_di.py --- tests/test_callback_di.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/test_callback_di.py b/tests/test_callback_di.py index e62e30fa..6b6d2900 100644 --- a/tests/test_callback_di.py +++ b/tests/test_callback_di.py @@ -133,7 +133,7 @@ def test_call_with_di_with_type_dependency_and_callback(context: alluka.Context) def callback( value_1: int, value_2: str, - value_3: str = alluka.inject(type=MockType), # type: ignore + value_3: MockType = alluka.inject(type=MockType), value_4: int = alluka.inject(type=MockOtherType), value_5: typing.Any = alluka.inject(callback=mock_callback), ) -> str: @@ -161,7 +161,7 @@ def test_call_with_di_with_type_dependency(context: alluka.Context): def callback( value_1: int, value_2: str, - value_3: str = alluka.inject(type=MockType), # type: ignore + value_3: MockType = alluka.inject(type=MockType), value_4: int = alluka.inject(type=MockOtherType), ) -> str: assert value_1 == 69 @@ -241,7 +241,7 @@ def test_call_with_di_with_type_dependency_not_found(context: alluka.Context): def callback( _: int, value_1: str, - __: str = alluka.inject(type=MockType), # type: ignore + __: MockType = alluka.inject(type=MockType), ___: int = alluka.inject(type=MockOtherType), ) -> str: raise NotImplementedError @@ -383,7 +383,7 @@ def test_call_with_di_with_defaulting_union_type_dependency(context: alluka.Cont def callback( value_1: int, value_2: str, - cope: int = alluka.inject(type=typing.Union[MockType, MockOtherType, None]), # type: ignore + cope: typing.Union[MockType, MockOtherType, None] = alluka.inject(type=typing.Union[MockType, MockOtherType, None]), ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -1249,7 +1249,7 @@ def callback(result: typing.Annotated[None, alluka.inject(callback=dependency)]) def test_call_with_di_with_positional_only_type_dependency(context: alluka.Context): def callback( - _: int, __: str = alluka.inject(type=float), /, ___: float = alluka.inject(type=float) # type: ignore + _: int, __: float = alluka.inject(type=float), /, ___: float = alluka.inject(type=float) ) -> None: raise NotImplementedError @@ -1285,7 +1285,7 @@ def callback( def test_call_with_di_with_sub_positional_only_type_dependency(context: alluka.Context): - def dependency(_: str = alluka.inject(type=int), /) -> str: # type: ignore + def dependency(_: str = alluka.inject(type=str), /) -> str: raise NotImplementedError def callback( From 764659d46585aceb60d97b0f31a2d302b35ee07f Mon Sep 17 00:00:00 2001 From: FasterSpeeding Date: Sun, 11 Aug 2024 15:05:49 +0100 Subject: [PATCH 17/29] Update test_callback_di_future_annotations.py --- tests/test_callback_di_future_annotations.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/test_callback_di_future_annotations.py b/tests/test_callback_di_future_annotations.py index d13713ff..7c9af06e 100644 --- a/tests/test_callback_di_future_annotations.py +++ b/tests/test_callback_di_future_annotations.py @@ -134,7 +134,7 @@ def test_call_with_di_with_type_dependency_and_callback(context: alluka.Context) def callback( value_1: int, value_2: str, - value_3: str = alluka.inject(type=MockType), # type: ignore + value_3: MockType = alluka.inject(type=MockType), value_4: int = alluka.inject(type=MockOtherType), value_5: typing.Any = alluka.inject(callback=mock_callback), ) -> str: @@ -162,7 +162,7 @@ def test_call_with_di_with_type_dependency(context: alluka.Context): def callback( value_1: int, value_2: str, - value_3: str = alluka.inject(type=MockType), # type: ignore + value_3: MockType = alluka.inject(type=MockType), value_4: int = alluka.inject(type=MockOtherType), ) -> str: assert value_1 == 69 @@ -242,7 +242,7 @@ def test_call_with_di_with_type_dependency_not_found(context: alluka.Context): def callback( _: int, value_1: str, - __: str = alluka.inject(type=MockType), # type: ignore + __: MockType = alluka.inject(type=MockType), ___: int = alluka.inject(type=MockOtherType), ) -> str: raise NotImplementedError @@ -384,7 +384,7 @@ def test_call_with_di_with_defaulting_union_type_dependency(context: alluka.Cont def callback( value_1: int, value_2: str, - cope: int = alluka.inject(type=typing.Union[MockType, MockOtherType, None]), # type: ignore + cope: typing.Union[MockType, MockOtherType, None] = alluka.inject(type=typing.Union[MockType, MockOtherType, None]), ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -1262,7 +1262,7 @@ def callback(result: typing.Annotated[None, alluka.inject(callback=dependency)]) def test_call_with_di_with_positional_only_type_dependency(context: alluka.Context): def callback( - _: int, __: str = alluka.inject(type=float), /, ___: float = alluka.inject(type=float) # type: ignore + _: int, __: str = alluka.inject(type=str), /, ___: float = alluka.inject(type=float) ) -> None: raise NotImplementedError @@ -1298,7 +1298,7 @@ def callback( def test_call_with_di_with_sub_positional_only_type_dependency(context: alluka.Context): - def dependency(_: str = alluka.inject(type=int), /) -> str: # type: ignore + def dependency(_: int = alluka.inject(type=int), /) -> str: raise NotImplementedError def callback( From caf7722b4b3bc28cd686c9550943f153cc2fc953 Mon Sep 17 00:00:00 2001 From: FasterSpeeding Date: Sun, 11 Aug 2024 15:07:48 +0100 Subject: [PATCH 18/29] Update test_async_callback_di.py --- tests/test_async_callback_di.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_async_callback_di.py b/tests/test_async_callback_di.py index 3d95609b..1ae91038 100644 --- a/tests/test_async_callback_di.py +++ b/tests/test_async_callback_di.py @@ -1363,7 +1363,7 @@ async def callback( @pytest.mark.anyio async def test_call_with_async_di_with_positional_only_type_dependency(context: alluka.Context): async def callback( - _: int, __: float = alluka.inject(type=float), /, ___: float = alluka.inject(type=float)x + _: int, __: float = alluka.inject(type=float), /, ___: float = alluka.inject(type=float) ) -> None: raise NotImplementedError From 822597dfab5d3c9a0056664e5c249c58048e2aa9 Mon Sep 17 00:00:00 2001 From: "always-on-duty[bot]" <120557446+always-on-duty[bot]@users.noreply.github.com> Date: Sun, 11 Aug 2024 14:08:21 +0000 Subject: [PATCH 19/29] Reformat PR code --- tests/test_async_callback_di.py | 11 +++++------ tests/test_async_callback_di_future_annotations.py | 9 ++++----- tests/test_callback_di.py | 13 +++++-------- tests/test_callback_di_future_annotations.py | 13 +++++-------- 4 files changed, 19 insertions(+), 27 deletions(-) diff --git a/tests/test_async_callback_di.py b/tests/test_async_callback_di.py index 1ae91038..7cfd5b3f 100644 --- a/tests/test_async_callback_di.py +++ b/tests/test_async_callback_di.py @@ -133,7 +133,7 @@ async def test_call_with_async_di_with_type_dependency_and_callback(context: all async def callback( value_1: int, value_2: str, - value_3: MockType = alluka.inject(type=MockType), + value_3: MockType = alluka.inject(type=MockType), value_4: int = alluka.inject(type=MockOtherType), value_5: typing.Any = alluka.inject(callback=mock_callback), ) -> str: @@ -235,10 +235,7 @@ async def test_call_with_async_di_with_type_dependency_not_found(context: alluka value = mock.Mock() async def callback( - _: int, - value: str, - __: MockType = alluka.inject(type=MockType), - ___: int = alluka.inject(type=MockOtherType), + _: int, value: str, __: MockType = alluka.inject(type=MockType), ___: int = alluka.inject(type=MockOtherType) ) -> str: raise NotImplementedError @@ -390,7 +387,9 @@ async def test_call_with_async_di_with_defaulting_union_type_dependency(context: async def callback( value_1: int, value_2: str, - cope: typing.Union[MockType, MockOtherType, None] = alluka.inject(type=typing.Union[MockType, MockOtherType, None]), + cope: typing.Union[MockType, MockOtherType, None] = alluka.inject( + type=typing.Union[MockType, MockOtherType, None] + ), ) -> float: assert value_1 == 123 assert value_2 == "ok" diff --git a/tests/test_async_callback_di_future_annotations.py b/tests/test_async_callback_di_future_annotations.py index eae61ad4..ba46bfa9 100644 --- a/tests/test_async_callback_di_future_annotations.py +++ b/tests/test_async_callback_di_future_annotations.py @@ -248,10 +248,7 @@ async def test_call_with_async_di_with_type_dependency_not_found(context: alluka mock_value = mock.Mock() async def callback( - _: int, - value_1: str, - __: MockType = alluka.inject(type=MockType), - ___: int = alluka.inject(type=MockOtherType), + _: int, value_1: str, __: MockType = alluka.inject(type=MockType), ___: int = alluka.inject(type=MockOtherType) ) -> str: raise NotImplementedError @@ -403,7 +400,9 @@ async def test_call_with_async_di_with_defaulting_union_type_dependency(context: async def callback( value_1: int, value_2: str, - cope: typing.Union[MockType, MockOtherType, None] = alluka.inject(type=typing.Union[MockType, MockOtherType, None]), + cope: typing.Union[MockType, MockOtherType, None] = alluka.inject( + type=typing.Union[MockType, MockOtherType, None] + ), ) -> float: assert value_1 == 123 assert value_2 == "ok" diff --git a/tests/test_callback_di.py b/tests/test_callback_di.py index 6b6d2900..c727d9ce 100644 --- a/tests/test_callback_di.py +++ b/tests/test_callback_di.py @@ -239,10 +239,7 @@ def test_call_with_di_with_type_dependency_not_found(context: alluka.Context): mock_value = mock.Mock() def callback( - _: int, - value_1: str, - __: MockType = alluka.inject(type=MockType), - ___: int = alluka.inject(type=MockOtherType), + _: int, value_1: str, __: MockType = alluka.inject(type=MockType), ___: int = alluka.inject(type=MockOtherType) ) -> str: raise NotImplementedError @@ -383,7 +380,9 @@ def test_call_with_di_with_defaulting_union_type_dependency(context: alluka.Cont def callback( value_1: int, value_2: str, - cope: typing.Union[MockType, MockOtherType, None] = alluka.inject(type=typing.Union[MockType, MockOtherType, None]), + cope: typing.Union[MockType, MockOtherType, None] = alluka.inject( + type=typing.Union[MockType, MockOtherType, None] + ), ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -1248,9 +1247,7 @@ def callback(result: typing.Annotated[None, alluka.inject(callback=dependency)]) def test_call_with_di_with_positional_only_type_dependency(context: alluka.Context): - def callback( - _: int, __: float = alluka.inject(type=float), /, ___: float = alluka.inject(type=float) - ) -> None: + def callback(_: int, __: float = alluka.inject(type=float), /, ___: float = alluka.inject(type=float)) -> None: raise NotImplementedError with pytest.raises(ValueError, match="Injected positional only arguments are not supported"): diff --git a/tests/test_callback_di_future_annotations.py b/tests/test_callback_di_future_annotations.py index 7c9af06e..a4445254 100644 --- a/tests/test_callback_di_future_annotations.py +++ b/tests/test_callback_di_future_annotations.py @@ -240,10 +240,7 @@ def test_call_with_di_with_type_dependency_not_found(context: alluka.Context): mock_value = mock.Mock() def callback( - _: int, - value_1: str, - __: MockType = alluka.inject(type=MockType), - ___: int = alluka.inject(type=MockOtherType), + _: int, value_1: str, __: MockType = alluka.inject(type=MockType), ___: int = alluka.inject(type=MockOtherType) ) -> str: raise NotImplementedError @@ -384,7 +381,9 @@ def test_call_with_di_with_defaulting_union_type_dependency(context: alluka.Cont def callback( value_1: int, value_2: str, - cope: typing.Union[MockType, MockOtherType, None] = alluka.inject(type=typing.Union[MockType, MockOtherType, None]), + cope: typing.Union[MockType, MockOtherType, None] = alluka.inject( + type=typing.Union[MockType, MockOtherType, None] + ), ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -1261,9 +1260,7 @@ def callback(result: typing.Annotated[None, alluka.inject(callback=dependency)]) def test_call_with_di_with_positional_only_type_dependency(context: alluka.Context): - def callback( - _: int, __: str = alluka.inject(type=str), /, ___: float = alluka.inject(type=float) - ) -> None: + def callback(_: int, __: str = alluka.inject(type=str), /, ___: float = alluka.inject(type=float)) -> None: raise NotImplementedError with pytest.raises(ValueError, match="Injected positional only arguments are not supported"): From 610d9e6ef0ce38e0d373689da91be7863f380235 Mon Sep 17 00:00:00 2001 From: FasterSpeeding Date: Sun, 11 Aug 2024 16:00:25 +0100 Subject: [PATCH 20/29] Update test_async_callback_di.py --- tests/test_async_callback_di.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/tests/test_async_callback_di.py b/tests/test_async_callback_di.py index 7cfd5b3f..5425d87c 100644 --- a/tests/test_async_callback_di.py +++ b/tests/test_async_callback_di.py @@ -134,7 +134,7 @@ async def callback( value_1: int, value_2: str, value_3: MockType = alluka.inject(type=MockType), - value_4: int = alluka.inject(type=MockOtherType), + value_4: MockOtherType = alluka.inject(type=MockOtherType), value_5: typing.Any = alluka.inject(callback=mock_callback), ) -> str: assert value_1 == 69 @@ -161,7 +161,7 @@ async def callback( value_1: int, value_2: str, value_3: MockType = alluka.inject(type=MockType), - value_4: int = alluka.inject(type=MockOtherType), + value_4: MockOtherType = alluka.inject(type=MockOtherType), ) -> str: assert value_1 == 69 assert value_2 == "rew" @@ -235,7 +235,7 @@ async def test_call_with_async_di_with_type_dependency_not_found(context: alluka value = mock.Mock() async def callback( - _: int, value: str, __: MockType = alluka.inject(type=MockType), ___: int = alluka.inject(type=MockOtherType) + _: int, value: str, __: MockType = alluka.inject(type=MockType), ___: MockOtherType = alluka.inject(type=MockOtherType) ) -> str: raise NotImplementedError @@ -253,7 +253,7 @@ async def test_call_with_async_di_with_defaulting_type_dependency(context: alluk value = mock.Mock() async def callback( - value_1: int, value_2: str, value_3: typing.Optional[int] = alluka.inject(type=typing.Optional[MockType]) + value_1: int, value_2: str, value_3: typing.Optional[MockType] = alluka.inject(type=typing.Optional[MockType]) ) -> str: assert value_1 == 69 assert value_2 == "rew" @@ -292,7 +292,7 @@ async def test_call_with_async_di_with_3_10_union_type_dependency(context: alluk context.injection_client.set_type_dependency(MockType, value) async def callback( - value_1: int, value_2: str, cope: int = alluka.inject(type=MockOtherType | MockType) + value_1: int, value_2: str, cope: MockOtherType | MockType = alluka.inject(type=MockOtherType | MockType) ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -305,7 +305,7 @@ async def callback( @pytest.mark.anyio async def test_call_with_async_di_with_3_10_union_type_dependency_not_found(context: alluka.Context): - async def callback(_: int, __: str, cope: int = alluka.inject(type=MockOtherType | MockType)) -> float: + async def callback(_: int, __: str, cope: MockOtherType | MockType = alluka.inject(type=MockOtherType | MockType)) -> float: raise NotImplementedError with pytest.raises(alluka.MissingDependencyError) as exc_info: @@ -353,7 +353,7 @@ async def test_call_with_async_di_with_union_type_dependency(context: alluka.Con context.injection_client.set_type_dependency(MockOtherType, value) async def callback( - value_1: int, value_2: str, cope: int = alluka.inject(type=typing.Union[MockType, MockOtherType]) + value_1: int, value_2: str, cope: typing.Union[MockType, MockOtherType] = alluka.inject(type=typing.Union[MockType, MockOtherType]) ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -367,7 +367,7 @@ async def callback( @pytest.mark.anyio async def test_call_with_async_di_with_union_type_dependency_not_found(context: alluka.Context): - async def callback(_: int, __: str, cope: int = alluka.inject(type=typing.Union[MockType, MockOtherType])) -> float: + async def callback(_: int, __: str, cope: typing.Union[MockType, MockOtherType] = alluka.inject(type=typing.Union[MockType, MockOtherType])) -> float: raise NotImplementedError with pytest.raises(alluka.MissingDependencyError) as exc_info: @@ -404,7 +404,7 @@ async def callback( @pytest.mark.anyio async def test_call_with_async_di_with_defaulting_union_type_dependency_not_found(context: alluka.Context): async def callback( - value_1: float, value_2: int, cope: typing.Optional[int] = alluka.inject(type=typing.Optional[MockType]) + value_1: float, value_2: int, cope: typing.Optional[MockType] = alluka.inject(type=typing.Optional[MockType]) ) -> float: assert value_1 == 123.321 assert value_2 == 543 @@ -1127,7 +1127,7 @@ async def test_call_with_async_di_with_sub_type_dependency(context: alluka.Conte value = mock.Mock() context.injection_client.set_type_dependency(MockType, value) - async def dependency(result: int = alluka.inject(type=MockType)) -> int: + async def dependency(result: MockType = alluka.inject(type=MockType)) -> int: assert result is value return 123321 @@ -1143,7 +1143,7 @@ async def callback(value_1: int, result: int = alluka.inject(callback=dependency @pytest.mark.anyio async def test_call_with_async_di_with_sub_type_dependency_not_found(context: alluka.Context): - async def dependency(result: int = alluka.inject(type=MockType)) -> int: + async def dependency(result: MockType = alluka.inject(type=MockType)) -> int: raise NotImplementedError async def callback(_: int, result: int = alluka.inject(callback=dependency)) -> str: From 50431b11892df20190a68c2b4b762c83d99d24a1 Mon Sep 17 00:00:00 2001 From: "always-on-duty[bot]" <120557446+always-on-duty[bot]@users.noreply.github.com> Date: Sun, 11 Aug 2024 15:01:02 +0000 Subject: [PATCH 21/29] Reformat PR code --- tests/test_async_callback_di.py | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/tests/test_async_callback_di.py b/tests/test_async_callback_di.py index 5425d87c..af9f52fd 100644 --- a/tests/test_async_callback_di.py +++ b/tests/test_async_callback_di.py @@ -235,7 +235,10 @@ async def test_call_with_async_di_with_type_dependency_not_found(context: alluka value = mock.Mock() async def callback( - _: int, value: str, __: MockType = alluka.inject(type=MockType), ___: MockOtherType = alluka.inject(type=MockOtherType) + _: int, + value: str, + __: MockType = alluka.inject(type=MockType), + ___: MockOtherType = alluka.inject(type=MockOtherType), ) -> str: raise NotImplementedError @@ -305,7 +308,9 @@ async def callback( @pytest.mark.anyio async def test_call_with_async_di_with_3_10_union_type_dependency_not_found(context: alluka.Context): - async def callback(_: int, __: str, cope: MockOtherType | MockType = alluka.inject(type=MockOtherType | MockType)) -> float: + async def callback( + _: int, __: str, cope: MockOtherType | MockType = alluka.inject(type=MockOtherType | MockType) + ) -> float: raise NotImplementedError with pytest.raises(alluka.MissingDependencyError) as exc_info: @@ -353,7 +358,9 @@ async def test_call_with_async_di_with_union_type_dependency(context: alluka.Con context.injection_client.set_type_dependency(MockOtherType, value) async def callback( - value_1: int, value_2: str, cope: typing.Union[MockType, MockOtherType] = alluka.inject(type=typing.Union[MockType, MockOtherType]) + value_1: int, + value_2: str, + cope: typing.Union[MockType, MockOtherType] = alluka.inject(type=typing.Union[MockType, MockOtherType]), ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -367,7 +374,11 @@ async def callback( @pytest.mark.anyio async def test_call_with_async_di_with_union_type_dependency_not_found(context: alluka.Context): - async def callback(_: int, __: str, cope: typing.Union[MockType, MockOtherType] = alluka.inject(type=typing.Union[MockType, MockOtherType])) -> float: + async def callback( + _: int, + __: str, + cope: typing.Union[MockType, MockOtherType] = alluka.inject(type=typing.Union[MockType, MockOtherType]), + ) -> float: raise NotImplementedError with pytest.raises(alluka.MissingDependencyError) as exc_info: From 697c19ae1fda049a38c5b32cfa790db9729e780c Mon Sep 17 00:00:00 2001 From: FasterSpeeding Date: Sun, 11 Aug 2024 16:05:00 +0100 Subject: [PATCH 22/29] Update test_async_callback_di_future_annotations.py --- ...st_async_callback_di_future_annotations.py | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/tests/test_async_callback_di_future_annotations.py b/tests/test_async_callback_di_future_annotations.py index ba46bfa9..93d73de8 100644 --- a/tests/test_async_callback_di_future_annotations.py +++ b/tests/test_async_callback_di_future_annotations.py @@ -139,7 +139,7 @@ async def callback( value_1: int, value_2: str, value_3: MockType = alluka.inject(type=MockType), - value_4: int = alluka.inject(type=MockOtherType), + value_4: MockOtherType = alluka.inject(type=MockOtherType), value_5: typing.Any = alluka.inject(callback=mock_callback), ) -> str: assert value_1 == 69 @@ -168,7 +168,7 @@ async def callback( value_1: int, value_2: str, value_3: MockType = alluka.inject(type=MockType), - value_4: int = alluka.inject(type=MockOtherType), + value_4: MockOtherType = alluka.inject(type=MockOtherType), ) -> str: assert value_1 == 69 assert value_2 == "rew" @@ -248,7 +248,7 @@ async def test_call_with_async_di_with_type_dependency_not_found(context: alluka mock_value = mock.Mock() async def callback( - _: int, value_1: str, __: MockType = alluka.inject(type=MockType), ___: int = alluka.inject(type=MockOtherType) + _: int, value_1: str, __: MockType = alluka.inject(type=MockType), ___: MockOtherType = alluka.inject(type=MockOtherType) ) -> str: raise NotImplementedError @@ -266,7 +266,7 @@ async def test_call_with_async_di_with_defaulting_type_dependency(context: alluk mock_value = mock.Mock() async def callback( - value_1: int, value_2: str, value_3: typing.Optional[int] = alluka.inject(type=typing.Optional[MockType]) + value_1: int, value_2: str, value_3: typing.Optional[MockType] = alluka.inject(type=typing.Optional[MockType]) ) -> str: assert value_1 == 69 assert value_2 == "rew" @@ -283,7 +283,7 @@ async def callback( @pytest.mark.anyio async def test_call_with_async_di_with_defaulting_type_dependency_not_found(context: alluka.Context): async def callback( - yeet: int, raw: str, value_1: typing.Optional[int] = alluka.inject(type=typing.Optional[MockType]) + yeet: int, raw: str, value_1: typing.Optional[MockType] = alluka.inject(type=typing.Optional[MockType]) ) -> str: assert yeet == 420 assert raw == "uwu" @@ -305,7 +305,7 @@ async def test_call_with_async_di_with_3_10_union_type_dependency(context: alluk context.injection_client.set_type_dependency(MockType, mock_value) async def callback( - value_1: int, value_2: str, cope: int = alluka.inject(type=MockOtherType | MockType) + value_1: int, value_2: str, cope: MockOtherType | MockType = alluka.inject(type=MockOtherType | MockType) ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -318,7 +318,7 @@ async def callback( @pytest.mark.anyio async def test_call_with_async_di_with_3_10_union_type_dependency_not_found(context: alluka.Context): - async def callback(_: int, __: str, cope: int = alluka.inject(type=MockOtherType | MockType)) -> float: + async def callback(_: int, __: str, cope: MockOtherType | MockType = alluka.inject(type=MockOtherType | MockType)) -> float: raise NotImplementedError with pytest.raises(alluka.MissingDependencyError) as exc_info: @@ -335,7 +335,7 @@ async def test_call_with_async_di_with_3_10_union_type_dependency_defaulting(con context.injection_client.set_type_dependency(MockType, mock_value) async def callback( - value_1: int, value_2: str, cope: int = alluka.inject(type=MockOtherType | MockType | None) + value_1: int, value_2: str, cope: MockOtherType | MockType = alluka.inject(type=MockOtherType | MockType | None) ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -349,7 +349,7 @@ async def callback( @pytest.mark.anyio async def test_call_with_async_di_with_3_10_union_type_dependency_defaulting_not_found(context: alluka.Context): async def callback( - value_1: int, value_2: str, cope: int = alluka.inject(type=MockOtherType | MockType | None) + value_1: int, value_2: str, cope: MockOtherType | MockType | None = alluka.inject(type=MockOtherType | MockType | None) ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -367,7 +367,7 @@ async def test_call_with_async_di_with_union_type_dependency(context: alluka.Con context.injection_client.set_type_dependency(MockOtherType, mock_value) async def callback( - value_1: int, value_2: str, cope: int = alluka.inject(type=typing.Union[MockType, MockOtherType]) + value_1: int, value_2: str, cope: typing.Union[MockType, MockOtherType] = alluka.inject(type=typing.Union[MockType, MockOtherType]) ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -381,7 +381,7 @@ async def callback( @pytest.mark.anyio async def test_call_with_async_di_with_union_type_dependency_not_found(context: alluka.Context): - async def callback(_: int, __: str, cope: int = alluka.inject(type=typing.Union[MockType, MockOtherType])) -> float: + async def callback(_: int, __: str, cope: typing.Union[MockType, MockOtherType] = alluka.inject(type=typing.Union[MockType, MockOtherType])) -> float: raise NotImplementedError with pytest.raises(alluka.MissingDependencyError) as exc_info: @@ -417,7 +417,7 @@ async def callback( @pytest.mark.anyio async def test_call_with_async_di_with_defaulting_union_type_dependency_not_found(context: alluka.Context): async def callback( - value_1: float, value_2: int, cope: typing.Optional[int] = alluka.inject(type=typing.Optional[MockType]) + value_1: float, value_2: int, cope: typing.Optional[MockType] = alluka.inject(type=typing.Optional[MockType]) ) -> float: assert value_1 == 123.321 assert value_2 == 543 @@ -1150,7 +1150,7 @@ async def test_call_with_async_di_with_sub_type_dependency(context: alluka.Conte mock_value = mock.Mock() context.injection_client.set_type_dependency(MockType, mock_value) - async def dependency(result: int = alluka.inject(type=MockType)) -> int: + async def dependency(result: MockType = alluka.inject(type=MockType)) -> int: assert result is mock_value return 123321 @@ -1166,7 +1166,7 @@ async def callback(value_1: int, result: int = alluka.inject(callback=dependency @pytest.mark.anyio async def test_call_with_async_di_with_sub_type_dependency_not_found(context: alluka.Context): - async def dependency(result: int = alluka.inject(type=MockType)) -> int: + async def dependency(result: MockType = alluka.inject(type=MockType)) -> int: raise NotImplementedError async def callback(_: int, result: int = alluka.inject(callback=dependency)) -> str: From a67364a9b1ac59fb8e8e3fc183c4d3a65fa53f7b Mon Sep 17 00:00:00 2001 From: "always-on-duty[bot]" <120557446+always-on-duty[bot]@users.noreply.github.com> Date: Sun, 11 Aug 2024 15:05:47 +0000 Subject: [PATCH 23/29] Reformat PR code --- ...st_async_callback_di_future_annotations.py | 27 ++++++++++++++----- 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/tests/test_async_callback_di_future_annotations.py b/tests/test_async_callback_di_future_annotations.py index 93d73de8..d95a6b3c 100644 --- a/tests/test_async_callback_di_future_annotations.py +++ b/tests/test_async_callback_di_future_annotations.py @@ -248,7 +248,10 @@ async def test_call_with_async_di_with_type_dependency_not_found(context: alluka mock_value = mock.Mock() async def callback( - _: int, value_1: str, __: MockType = alluka.inject(type=MockType), ___: MockOtherType = alluka.inject(type=MockOtherType) + _: int, + value_1: str, + __: MockType = alluka.inject(type=MockType), + ___: MockOtherType = alluka.inject(type=MockOtherType), ) -> str: raise NotImplementedError @@ -318,7 +321,9 @@ async def callback( @pytest.mark.anyio async def test_call_with_async_di_with_3_10_union_type_dependency_not_found(context: alluka.Context): - async def callback(_: int, __: str, cope: MockOtherType | MockType = alluka.inject(type=MockOtherType | MockType)) -> float: + async def callback( + _: int, __: str, cope: MockOtherType | MockType = alluka.inject(type=MockOtherType | MockType) + ) -> float: raise NotImplementedError with pytest.raises(alluka.MissingDependencyError) as exc_info: @@ -335,7 +340,9 @@ async def test_call_with_async_di_with_3_10_union_type_dependency_defaulting(con context.injection_client.set_type_dependency(MockType, mock_value) async def callback( - value_1: int, value_2: str, cope: MockOtherType | MockType = alluka.inject(type=MockOtherType | MockType | None) + value_1: int, + value_2: str, + cope: MockOtherType | MockType = alluka.inject(type=MockOtherType | MockType | None), ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -349,7 +356,9 @@ async def callback( @pytest.mark.anyio async def test_call_with_async_di_with_3_10_union_type_dependency_defaulting_not_found(context: alluka.Context): async def callback( - value_1: int, value_2: str, cope: MockOtherType | MockType | None = alluka.inject(type=MockOtherType | MockType | None) + value_1: int, + value_2: str, + cope: MockOtherType | MockType | None = alluka.inject(type=MockOtherType | MockType | None), ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -367,7 +376,9 @@ async def test_call_with_async_di_with_union_type_dependency(context: alluka.Con context.injection_client.set_type_dependency(MockOtherType, mock_value) async def callback( - value_1: int, value_2: str, cope: typing.Union[MockType, MockOtherType] = alluka.inject(type=typing.Union[MockType, MockOtherType]) + value_1: int, + value_2: str, + cope: typing.Union[MockType, MockOtherType] = alluka.inject(type=typing.Union[MockType, MockOtherType]), ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -381,7 +392,11 @@ async def callback( @pytest.mark.anyio async def test_call_with_async_di_with_union_type_dependency_not_found(context: alluka.Context): - async def callback(_: int, __: str, cope: typing.Union[MockType, MockOtherType] = alluka.inject(type=typing.Union[MockType, MockOtherType])) -> float: + async def callback( + _: int, + __: str, + cope: typing.Union[MockType, MockOtherType] = alluka.inject(type=typing.Union[MockType, MockOtherType]), + ) -> float: raise NotImplementedError with pytest.raises(alluka.MissingDependencyError) as exc_info: From 1e4d16f95d41ae516d7ce1a23dfb5c5561b46755 Mon Sep 17 00:00:00 2001 From: FasterSpeeding Date: Sun, 11 Aug 2024 16:10:46 +0100 Subject: [PATCH 24/29] Update test_callback_di.py --- tests/test_callback_di.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/tests/test_callback_di.py b/tests/test_callback_di.py index c727d9ce..5e6ea121 100644 --- a/tests/test_callback_di.py +++ b/tests/test_callback_di.py @@ -134,7 +134,7 @@ def callback( value_1: int, value_2: str, value_3: MockType = alluka.inject(type=MockType), - value_4: int = alluka.inject(type=MockOtherType), + value_4: MockOtherType = alluka.inject(type=MockOtherType), value_5: typing.Any = alluka.inject(callback=mock_callback), ) -> str: assert value_1 == 69 @@ -162,7 +162,7 @@ def callback( value_1: int, value_2: str, value_3: MockType = alluka.inject(type=MockType), - value_4: int = alluka.inject(type=MockOtherType), + value_4: MockOtherType = alluka.inject(type=MockOtherType), ) -> str: assert value_1 == 69 assert value_2 == "rew" @@ -256,7 +256,7 @@ def test_call_with_di_with_defaulting_type_dependency(context: alluka.Context): mock_value = mock.Mock() def callback( - value_1: int, value_2: str, value_3: typing.Optional[int] = alluka.inject(type=typing.Optional[MockType]) + value_1: int, value_2: str, value_3: typing.Optional[MockType] = alluka.inject(type=typing.Optional[MockType]) ) -> str: assert value_1 == 69 assert value_2 == "rew" @@ -272,7 +272,7 @@ def callback( def test_call_with_di_with_defaulting_type_dependency_not_found(context: alluka.Context): def callback( - yeet: int, raw: str, value_1: typing.Optional[int] = alluka.inject(type=typing.Optional[MockType]) + yeet: int, raw: str, value_1: typing.Optional[MockType] = alluka.inject(type=typing.Optional[MockType]) ) -> str: assert yeet == 420 assert raw == "uwu" @@ -292,7 +292,7 @@ def test_call_with_di_with_3_10_union_type_dependency(context: alluka.Context): context.injection_client.set_type_dependency(MockType, mock_value) - def callback(value_1: int, value_2: str, cope: int = alluka.inject(type=MockOtherType | MockType)) -> float: + def callback(value_1: int, value_2: str, cope: MockOtherType | MockType = alluka.inject(type=MockOtherType | MockType)) -> float: assert value_1 == 123 assert value_2 == "ok" assert cope is mock_value @@ -303,7 +303,7 @@ def callback(value_1: int, value_2: str, cope: int = alluka.inject(type=MockOthe assert result == 451.123 def test_call_with_di_with_3_10_union_type_dependency_not_found(context: alluka.Context): - def callback(_: int, __: str, cope: int = alluka.inject(type=MockOtherType | MockType)) -> float: + def callback(_: int, __: str, cope: MockOtherType | MockType = alluka.inject(type=MockOtherType | MockType)) -> float: raise NotImplementedError with pytest.raises(alluka.MissingDependencyError) as exc_info: @@ -318,7 +318,7 @@ def test_call_with_di_with_3_10_union_type_dependency_defaulting(context: alluka context.injection_client.set_type_dependency(MockType, mock_value) def callback( - value_1: int, value_2: str, cope: int = alluka.inject(type=MockOtherType | MockType | None) + value_1: int, value_2: str, cope: MockOtherType | MockType | None = alluka.inject(type=MockOtherType | MockType | None) ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -331,7 +331,7 @@ def callback( def test_call_with_di_with_3_10_union_type_dependency_defaulting_not_found(context: alluka.Context): def callback( - value_1: int, value_2: str, cope: int = alluka.inject(type=MockOtherType | MockType | None) + value_1: int, value_2: str, cope: MockOtherType | MockType | None = alluka.inject(type=MockOtherType | MockType | None) ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -348,7 +348,7 @@ def test_call_with_di_with_union_type_dependency(context: alluka.Context): context.injection_client.set_type_dependency(MockOtherType, mock_value) def callback( - value_1: int, value_2: str, cope: int = alluka.inject(type=typing.Union[MockType, MockOtherType]) + value_1: int, value_2: str, cope: typing.Union[MockType, MockOtherType] = alluka.inject(type=typing.Union[MockType, MockOtherType]) ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -361,7 +361,7 @@ def callback( def test_call_with_di_with_union_type_dependency_not_found(context: alluka.Context): - def callback(_: int, __: str, cope: int = alluka.inject(type=typing.Union[MockType, MockOtherType])) -> float: + def callback(_: int, __: str, cope: typing.Union[MockType, MockOtherType] = alluka.inject(type=typing.Union[MockType, MockOtherType])) -> float: raise NotImplementedError with pytest.raises(alluka.MissingDependencyError) as exc_info: @@ -396,7 +396,7 @@ def callback( def test_call_with_di_with_defaulting_union_type_dependency_not_found(context: alluka.Context): def callback( - value_1: float, value_2: int, cope: typing.Optional[int] = alluka.inject(type=typing.Optional[MockType]) + value_1: float, value_2: int, cope: typing.Optional[MockType] = alluka.inject(type=typing.Optional[MockType]) ) -> float: assert value_1 == 123.321 assert value_2 == 543 @@ -1058,7 +1058,7 @@ def test_call_with_di_with_sub_type_dependency(context: alluka.Context): mock_value = mock.Mock() context.injection_client.set_type_dependency(MockType, mock_value) - def dependency(result: int = alluka.inject(type=MockType)) -> int: + def dependency(result: MockType = alluka.inject(type=MockType)) -> int: assert result is mock_value return 123321 From e6017f734b639ac9f929b7d788c584d3fe336739 Mon Sep 17 00:00:00 2001 From: "always-on-duty[bot]" <120557446+always-on-duty[bot]@users.noreply.github.com> Date: Sun, 11 Aug 2024 15:11:18 +0000 Subject: [PATCH 25/29] Reformat PR code --- tests/test_callback_di.py | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/tests/test_callback_di.py b/tests/test_callback_di.py index 5e6ea121..40d615e3 100644 --- a/tests/test_callback_di.py +++ b/tests/test_callback_di.py @@ -292,7 +292,9 @@ def test_call_with_di_with_3_10_union_type_dependency(context: alluka.Context): context.injection_client.set_type_dependency(MockType, mock_value) - def callback(value_1: int, value_2: str, cope: MockOtherType | MockType = alluka.inject(type=MockOtherType | MockType)) -> float: + def callback( + value_1: int, value_2: str, cope: MockOtherType | MockType = alluka.inject(type=MockOtherType | MockType) + ) -> float: assert value_1 == 123 assert value_2 == "ok" assert cope is mock_value @@ -303,7 +305,9 @@ def callback(value_1: int, value_2: str, cope: MockOtherType | MockType = alluka assert result == 451.123 def test_call_with_di_with_3_10_union_type_dependency_not_found(context: alluka.Context): - def callback(_: int, __: str, cope: MockOtherType | MockType = alluka.inject(type=MockOtherType | MockType)) -> float: + def callback( + _: int, __: str, cope: MockOtherType | MockType = alluka.inject(type=MockOtherType | MockType) + ) -> float: raise NotImplementedError with pytest.raises(alluka.MissingDependencyError) as exc_info: @@ -318,7 +322,9 @@ def test_call_with_di_with_3_10_union_type_dependency_defaulting(context: alluka context.injection_client.set_type_dependency(MockType, mock_value) def callback( - value_1: int, value_2: str, cope: MockOtherType | MockType | None = alluka.inject(type=MockOtherType | MockType | None) + value_1: int, + value_2: str, + cope: MockOtherType | MockType | None = alluka.inject(type=MockOtherType | MockType | None), ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -331,7 +337,9 @@ def callback( def test_call_with_di_with_3_10_union_type_dependency_defaulting_not_found(context: alluka.Context): def callback( - value_1: int, value_2: str, cope: MockOtherType | MockType | None = alluka.inject(type=MockOtherType | MockType | None) + value_1: int, + value_2: str, + cope: MockOtherType | MockType | None = alluka.inject(type=MockOtherType | MockType | None), ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -348,7 +356,9 @@ def test_call_with_di_with_union_type_dependency(context: alluka.Context): context.injection_client.set_type_dependency(MockOtherType, mock_value) def callback( - value_1: int, value_2: str, cope: typing.Union[MockType, MockOtherType] = alluka.inject(type=typing.Union[MockType, MockOtherType]) + value_1: int, + value_2: str, + cope: typing.Union[MockType, MockOtherType] = alluka.inject(type=typing.Union[MockType, MockOtherType]), ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -361,7 +371,11 @@ def callback( def test_call_with_di_with_union_type_dependency_not_found(context: alluka.Context): - def callback(_: int, __: str, cope: typing.Union[MockType, MockOtherType] = alluka.inject(type=typing.Union[MockType, MockOtherType])) -> float: + def callback( + _: int, + __: str, + cope: typing.Union[MockType, MockOtherType] = alluka.inject(type=typing.Union[MockType, MockOtherType]), + ) -> float: raise NotImplementedError with pytest.raises(alluka.MissingDependencyError) as exc_info: From a434af5c28fb3eb2051c352d50dd07251fb49a37 Mon Sep 17 00:00:00 2001 From: FasterSpeeding Date: Sun, 11 Aug 2024 16:13:26 +0100 Subject: [PATCH 26/29] Update test_callback_di_future_annotations.py --- tests/test_callback_di_future_annotations.py | 24 ++++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/tests/test_callback_di_future_annotations.py b/tests/test_callback_di_future_annotations.py index a4445254..debb06ea 100644 --- a/tests/test_callback_di_future_annotations.py +++ b/tests/test_callback_di_future_annotations.py @@ -135,7 +135,7 @@ def callback( value_1: int, value_2: str, value_3: MockType = alluka.inject(type=MockType), - value_4: int = alluka.inject(type=MockOtherType), + value_4: MockOtherType = alluka.inject(type=MockOtherType), value_5: typing.Any = alluka.inject(callback=mock_callback), ) -> str: assert value_1 == 69 @@ -163,7 +163,7 @@ def callback( value_1: int, value_2: str, value_3: MockType = alluka.inject(type=MockType), - value_4: int = alluka.inject(type=MockOtherType), + value_4: MockOtherType = alluka.inject(type=MockOtherType), ) -> str: assert value_1 == 69 assert value_2 == "rew" @@ -257,7 +257,7 @@ def test_call_with_di_with_defaulting_type_dependency(context: alluka.Context): mock_value = mock.Mock() def callback( - value_1: int, value_2: str, value_3: typing.Optional[int] = alluka.inject(type=typing.Optional[MockType]) + value_1: int, value_2: str, value_3: typing.Optional[MockType] = alluka.inject(type=typing.Optional[MockType]) ) -> str: assert value_1 == 69 assert value_2 == "rew" @@ -273,7 +273,7 @@ def callback( def test_call_with_di_with_defaulting_type_dependency_not_found(context: alluka.Context): def callback( - yeet: int, raw: str, value_1: typing.Optional[int] = alluka.inject(type=typing.Optional[MockType]) + yeet: int, raw: str, value_1: typing.Optional[MockType] = alluka.inject(type=typing.Optional[MockType]) ) -> str: assert yeet == 420 assert raw == "uwu" @@ -293,7 +293,7 @@ def test_call_with_di_with_3_10_union_type_dependency(context: alluka.Context): context.injection_client.set_type_dependency(MockType, mock_value) - def callback(value_1: int, value_2: str, cope: int = alluka.inject(type=MockOtherType | MockType)) -> float: + def callback(value_1: int, value_2: str, cope: MockOtherType | MockType = alluka.inject(type=MockOtherType | MockType)) -> float: assert value_1 == 123 assert value_2 == "ok" assert cope is mock_value @@ -304,7 +304,7 @@ def callback(value_1: int, value_2: str, cope: int = alluka.inject(type=MockOthe assert result == 451.123 def test_call_with_di_with_3_10_union_type_dependency_not_found(context: alluka.Context): - def callback(_: int, __: str, cope: int = alluka.inject(type=MockOtherType | MockType)) -> float: + def callback(_: int, __: str, cope: MockOtherType | MockType = alluka.inject(type=MockOtherType | MockType)) -> float: raise NotImplementedError with pytest.raises(alluka.MissingDependencyError) as exc_info: @@ -320,7 +320,7 @@ def test_call_with_di_with_3_10_union_type_dependency_defaulting(context: alluka context.injection_client.set_type_dependency(MockType, mock_value) def callback( - value_1: int, value_2: str, cope: int = alluka.inject(type=MockOtherType | MockType | None) + value_1: int, value_2: str, cope: MockOtherType | MockType | None = alluka.inject(type=MockOtherType | MockType | None) ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -333,7 +333,7 @@ def callback( def test_call_with_di_with_3_10_union_type_dependency_defaulting_not_found(context: alluka.Context): def callback( - value_1: int, value_2: str, cope: int = alluka.inject(type=MockOtherType | MockType | None) + value_1: int, value_2: str, cope: MockOtherType | MockType | None = alluka.inject(type=MockOtherType | MockType | None) ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -350,7 +350,7 @@ def test_call_with_di_with_union_type_dependency(context: alluka.Context): context.injection_client.set_type_dependency(MockOtherType, mock_value) def callback( - value_1: int, value_2: str, cope: int = alluka.inject(type=typing.Union[MockType, MockOtherType]) + value_1: int, value_2: str, cope: typing.Union[MockType, MockOtherType] = alluka.inject(type=typing.Union[MockType, MockOtherType]) ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -363,7 +363,7 @@ def callback( def test_call_with_di_with_union_type_dependency_not_found(context: alluka.Context): - def callback(_: int, __: str, cope: int = alluka.inject(type=typing.Union[MockType, MockOtherType])) -> float: + def callback(_: int, __: str, cope: typing.Union[MockType, MockOtherType] = alluka.inject(type=typing.Union[MockType, MockOtherType])) -> float: raise NotImplementedError with pytest.raises(alluka.MissingDependencyError) as exc_info: @@ -397,7 +397,7 @@ def callback( def test_call_with_di_with_defaulting_union_type_dependency_not_found(context: alluka.Context): def callback( - value_1: float, value_2: int, cope: typing.Optional[int] = alluka.inject(type=typing.Optional[MockType]) + value_1: float, value_2: int, cope: typing.Optional[MockType] = alluka.inject(type=typing.Optional[MockType]) ) -> float: assert value_1 == 123.321 assert value_2 == 543 @@ -1061,7 +1061,7 @@ def test_call_with_di_with_sub_type_dependency(context: alluka.Context): mock_value = mock.Mock() context.injection_client.set_type_dependency(MockType, mock_value) - def dependency(result: int = alluka.inject(type=MockType)) -> int: + def dependency(result: MockType = alluka.inject(type=MockType)) -> int: assert result is mock_value return 123321 From 8526c301e9c4f125093571c7b31505da873d1844 Mon Sep 17 00:00:00 2001 From: "always-on-duty[bot]" <120557446+always-on-duty[bot]@users.noreply.github.com> Date: Sun, 11 Aug 2024 15:13:59 +0000 Subject: [PATCH 27/29] Reformat PR code --- tests/test_callback_di_future_annotations.py | 26 +++++++++++++++----- 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/tests/test_callback_di_future_annotations.py b/tests/test_callback_di_future_annotations.py index debb06ea..484cbe84 100644 --- a/tests/test_callback_di_future_annotations.py +++ b/tests/test_callback_di_future_annotations.py @@ -293,7 +293,9 @@ def test_call_with_di_with_3_10_union_type_dependency(context: alluka.Context): context.injection_client.set_type_dependency(MockType, mock_value) - def callback(value_1: int, value_2: str, cope: MockOtherType | MockType = alluka.inject(type=MockOtherType | MockType)) -> float: + def callback( + value_1: int, value_2: str, cope: MockOtherType | MockType = alluka.inject(type=MockOtherType | MockType) + ) -> float: assert value_1 == 123 assert value_2 == "ok" assert cope is mock_value @@ -304,7 +306,9 @@ def callback(value_1: int, value_2: str, cope: MockOtherType | MockType = alluka assert result == 451.123 def test_call_with_di_with_3_10_union_type_dependency_not_found(context: alluka.Context): - def callback(_: int, __: str, cope: MockOtherType | MockType = alluka.inject(type=MockOtherType | MockType)) -> float: + def callback( + _: int, __: str, cope: MockOtherType | MockType = alluka.inject(type=MockOtherType | MockType) + ) -> float: raise NotImplementedError with pytest.raises(alluka.MissingDependencyError) as exc_info: @@ -320,7 +324,9 @@ def test_call_with_di_with_3_10_union_type_dependency_defaulting(context: alluka context.injection_client.set_type_dependency(MockType, mock_value) def callback( - value_1: int, value_2: str, cope: MockOtherType | MockType | None = alluka.inject(type=MockOtherType | MockType | None) + value_1: int, + value_2: str, + cope: MockOtherType | MockType | None = alluka.inject(type=MockOtherType | MockType | None), ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -333,7 +339,9 @@ def callback( def test_call_with_di_with_3_10_union_type_dependency_defaulting_not_found(context: alluka.Context): def callback( - value_1: int, value_2: str, cope: MockOtherType | MockType | None = alluka.inject(type=MockOtherType | MockType | None) + value_1: int, + value_2: str, + cope: MockOtherType | MockType | None = alluka.inject(type=MockOtherType | MockType | None), ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -350,7 +358,9 @@ def test_call_with_di_with_union_type_dependency(context: alluka.Context): context.injection_client.set_type_dependency(MockOtherType, mock_value) def callback( - value_1: int, value_2: str, cope: typing.Union[MockType, MockOtherType] = alluka.inject(type=typing.Union[MockType, MockOtherType]) + value_1: int, + value_2: str, + cope: typing.Union[MockType, MockOtherType] = alluka.inject(type=typing.Union[MockType, MockOtherType]), ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -363,7 +373,11 @@ def callback( def test_call_with_di_with_union_type_dependency_not_found(context: alluka.Context): - def callback(_: int, __: str, cope: typing.Union[MockType, MockOtherType] = alluka.inject(type=typing.Union[MockType, MockOtherType])) -> float: + def callback( + _: int, + __: str, + cope: typing.Union[MockType, MockOtherType] = alluka.inject(type=typing.Union[MockType, MockOtherType]), + ) -> float: raise NotImplementedError with pytest.raises(alluka.MissingDependencyError) as exc_info: From 00b777f78f3215b125d6d8329847b6515bd8f35b Mon Sep 17 00:00:00 2001 From: FasterSpeeding Date: Sun, 11 Aug 2024 16:15:39 +0100 Subject: [PATCH 28/29] Update test_async_callback_di.py --- tests/test_async_callback_di.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_async_callback_di.py b/tests/test_async_callback_di.py index af9f52fd..bdf0e088 100644 --- a/tests/test_async_callback_di.py +++ b/tests/test_async_callback_di.py @@ -273,7 +273,7 @@ async def callback( @pytest.mark.anyio async def test_call_with_async_di_with_defaulting_type_dependency_not_found(context: alluka.Context): async def callback( - yeet: int, raw: str, value_1: typing.Optional[int] = alluka.inject(type=typing.Optional[MockType]) + yeet: int, raw: str, value_1: typing.Optional[MockType] = alluka.inject(type=typing.Optional[MockType]) ) -> str: assert yeet == 420 assert raw == "uwu" @@ -326,7 +326,7 @@ async def test_call_with_async_di_with_3_10_union_type_dependency_defaulting(con context.injection_client.set_type_dependency(MockType, value) async def callback( - value_1: int, value_2: str, cope: int = alluka.inject(type=MockOtherType | MockType | None) + value_1: int, value_2: str, cope: MockOtherType | MockType | None = alluka.inject(type=MockOtherType | MockType | None) ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -340,7 +340,7 @@ async def callback( @pytest.mark.anyio async def test_call_with_async_di_with_3_10_union_type_dependency_defaulting_not_found(context: alluka.Context): async def callback( - value_1: int, value_2: str, cope: int = alluka.inject(type=MockOtherType | MockType | None) + value_1: int, value_2: str, cope: MockOtherType | MockType | None = alluka.inject(type=MockOtherType | MockType | None) ) -> float: assert value_1 == 123 assert value_2 == "ok" From 462a26552787f85cf11b2f4e54fd4ee39a4cb766 Mon Sep 17 00:00:00 2001 From: "always-on-duty[bot]" <120557446+always-on-duty[bot]@users.noreply.github.com> Date: Sun, 11 Aug 2024 15:16:16 +0000 Subject: [PATCH 29/29] Reformat PR code --- tests/test_async_callback_di.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/test_async_callback_di.py b/tests/test_async_callback_di.py index bdf0e088..5f43438a 100644 --- a/tests/test_async_callback_di.py +++ b/tests/test_async_callback_di.py @@ -326,7 +326,9 @@ async def test_call_with_async_di_with_3_10_union_type_dependency_defaulting(con context.injection_client.set_type_dependency(MockType, value) async def callback( - value_1: int, value_2: str, cope: MockOtherType | MockType | None = alluka.inject(type=MockOtherType | MockType | None) + value_1: int, + value_2: str, + cope: MockOtherType | MockType | None = alluka.inject(type=MockOtherType | MockType | None), ) -> float: assert value_1 == 123 assert value_2 == "ok" @@ -340,7 +342,9 @@ async def callback( @pytest.mark.anyio async def test_call_with_async_di_with_3_10_union_type_dependency_defaulting_not_found(context: alluka.Context): async def callback( - value_1: int, value_2: str, cope: MockOtherType | MockType | None = alluka.inject(type=MockOtherType | MockType | None) + value_1: int, + value_2: str, + cope: MockOtherType | MockType | None = alluka.inject(type=MockOtherType | MockType | None), ) -> float: assert value_1 == 123 assert value_2 == "ok"