Skip to content

Commit

Permalink
bump version, add test
Browse files Browse the repository at this point in the history
  • Loading branch information
kavigupta committed Dec 26, 2024
1 parent b172b4e commit 2f87333
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="permacache",
version="3.8.0",
version="3.9.0",
author="Kavi Gupta",
author_email="[email protected]",
description="Permanant cache.",
Expand Down
34 changes: 34 additions & 0 deletions tests/test_module/c.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
from dataclasses import dataclass

import attr

from permacache import migrated_attrs


@attr.s
class A:
x = attr.ib()
y = attr.ib()
z = attr.ib()


@attr.dataclass
class B:
x: int
y: str
z: float


@dataclass
class C:
x: int
y: str
z: float


@dataclass
@migrated_attrs
class D:
x: int
y: str
z: float

0 comments on commit 2f87333

Please sign in to comment.