kuvert 3.2.0__tar.gz → 3.2.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: kuvert
3
- Version: 3.2.0
3
+ Version: 3.2.1
4
4
  Summary: The python client for kuvert, the arkitekt mail service
5
5
  Author-email: jhnnsrs <jhnnsrs@gmail.com>
6
6
  Requires-Python: >=3.11
@@ -0,0 +1 @@
1
+ {"version": "9.6.1"}
@@ -1,4 +1,5 @@
1
1
  from types import TracebackType
2
+ from typing import TypeVar
2
3
 
3
4
  from pydantic import Field
4
5
  from rath import rath
@@ -16,6 +17,9 @@ class KuvertLinkComposition(TypedComposedLink):
16
17
  split: SplitLink
17
18
 
18
19
 
20
+ KuvertRathT = TypeVar("KuvertRathT", bound="KuvertRath")
21
+
22
+
19
23
  class KuvertRath(rath.Rath):
20
24
  """Kuvert Rath
21
25
 
@@ -23,7 +27,7 @@ class KuvertRath(rath.Rath):
23
27
  :class:`kuvert.kuvert.Kuvert` client; calls go through that client.
24
28
  """
25
29
 
26
- async def __aenter__(self):
30
+ async def __aenter__(self: KuvertRathT) -> KuvertRathT:
27
31
  """Enter the client.
28
32
 
29
33
  Entering does not make it "the current client": nothing is. Calls go
@@ -18,8 +18,8 @@ dependencies = [
18
18
  # __init__ lights up when it is installed alongside.
19
19
 
20
20
 
21
- [tool.uv]
22
- dev-dependencies = [
21
+ [dependency-groups]
22
+ dev = [
23
23
  "dokker>=2.8",
24
24
  # Stamps the server version the integration tests ran against, and checks it at release.
25
25
  "arkitekt-spec>=12.9",
@@ -28,16 +28,11 @@ dev-dependencies = [
28
28
  "pytest-aiohttp>=1.0.5,<2",
29
29
  "pytest-cov>=5.0.0,<6",
30
30
  "python-semantic-release>=9.21.1",
31
- "ruff>0.11",
31
+ "ruff==0.17.6",
32
32
  "turms>=3.0",
33
- "basedpyright>=1.21",
33
+ "basedpyright==1.40.2",
34
34
  ]
35
35
 
36
- [tool.basedpyright]
37
- include = ["kuvert"]
38
- exclude = ["**/__pycache__", "tests"]
39
- typeCheckingMode = "standard"
40
-
41
36
  # `_tested.json` is written by the integration tests (the server version they ran against)
42
37
  # and is not in git: named as an artifact, on both, it is shipped all the same.
43
38
  [tool.hatch.build.targets.sdist]
@@ -48,13 +43,6 @@ artifacts = ["kuvert/_tested.json"]
48
43
  include = ["kuvert"]
49
44
  artifacts = ["kuvert/_tested.json"]
50
45
 
51
-
52
- [tool.ruff.lint]
53
- extend-select = ["UP"]
54
- extend-ignore = ["UP037", "UP038", "UP042"]
55
-
56
- [tool.ruff.lint.per-file-ignores]
57
- "kuvert/api/schema.py" = ["UP035"]
58
46
  [build-system]
59
47
  requires = ["hatchling", "hatch-vcs"]
60
48
  build-backend = "hatchling.build"
@@ -1 +0,0 @@
1
- {"version": "9.4.0"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes