Skip to content

Commit

Permalink
Base Affine on attrs
Browse files Browse the repository at this point in the history
  • Loading branch information
sgillies committed Dec 28, 2024
1 parent aab9916 commit 1e22ddf
Show file tree
Hide file tree
Showing 5 changed files with 101 additions and 108 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ repos:
rev: v1.13.0
hooks:
- id: mypy
additional_dependencies: [attrs]
3 changes: 3 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ CHANGES
3.0a1 (2024-12-27)
------------------

- Switch from namedtuple to attrs for implementation of the Affine class and
use functools.cached_property(), which absolutely requires Python 3.8+
(#111).
- Source was moved to src/ and Python version support was changed to 3.9+
(#110).

Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ classifiers = [
]
license = {text = "BSD-3-Clause"}
requires-python = ">=3.9"
dependencies = [
"attrs",
]

[project.optional-dependencies]
test = [
Expand Down
Loading

0 comments on commit 1e22ddf

Please sign in to comment.