Skip to content

Commit

Permalink
Move affine/__init__.py to affine.py (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwtoews authored Jan 6, 2025
1 parent 9ca9df9 commit 4dcf720
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ CHANGES
3.0a1 (2024-12-27)
------------------

- Python version support was changed to 3.9+ (#110).
- 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).
- Source was moved to a single-module affine.py (#112).
- Add numpy __array__ interface (#108).

2.4.0 (2023-01-19)
------------------
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Matrices describing 2D affine transformation of the plane.
:alt: Documentation Status

The Affine package is derived from Casey Duncan's Planar package. Please see
the copyright statement in `src/affine/__init__.py <src/affine/__init__.py>`__.
the copyright statement in `affine.py <affine.py>`__.

Usage
-----
Expand Down
File renamed without changes.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ include = [
"AUTHORS.txt",
"CHANGES.txt",
"LICENSE.txt",
"docs/",
"tests/",
]

[tool.ruff.lint]
Expand All @@ -62,7 +64,7 @@ ignore = [
]

[tool.ruff.lint.per-file-ignores]
"src/affine/tests/**.py" = ["B", "D"]
"tests/**.py" = ["B", "D"]
"docs/**.py" = ["D"]

[tool.ruff.lint.isort]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 4dcf720

Please sign in to comment.