-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorganise the standard library (#227)
- It makes more sense to have everything related to a given "thing" to be located in the same place. So the `shapes`, `patterns` and `operators` modules have been merged into a single `arlunio.lib.mask` module. The `parameters` module has now also been renamed to `math` - Updated the `arlunio-image` directive to align to the above change and also made it so that an error when rendering an image is also logged during a sphinx build - Change virtualenv name from `.dev` to `.env` - Fix reference to `flake8` in the `.pre-commit-config.yaml` file
- Loading branch information
Showing
30 changed files
with
131 additions
and
253 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from ._core import Defn, DefnInput, Mask, definition # noqa: F401 | ||
from ._core import Defn, DefnInput, definition # noqa: F401 | ||
from ._expressions import all, any, clamp, invert, lerp, normalise # noqa: F401 | ||
from ._images import Image, Resolutions, colorramp, encode, fill, save # noqa: F401 | ||
from ._version import __version__ # noqa: F401 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +0,0 @@ | ||
from .operators import MaskAdd, MaskMul, MaskSub # noqa: F401 | ||
from .parameters import R, T, X, Y # noqa: F401 | ||
from .pattern import Grid, Map, Pixelize # noqa: F401 | ||
from .shapes import ( # noqa: F401 | ||
Circle, | ||
Ellipse, | ||
Empty, | ||
Full, | ||
Rectangle, | ||
Square, | ||
SuperEllipse, | ||
) | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
from .mask import Mask | ||
from .pattern import Grid, Map, Pixelize | ||
from .shape import Circle, Ellipse, Empty, Full, Rectangle, Square, SuperEllipse | ||
|
||
__all__ = [ | ||
"Mask", | ||
"Circle", | ||
"Ellipse", | ||
"Empty", | ||
"Full", | ||
"Grid", | ||
"Map", | ||
"Pixelize", | ||
"Rectangle", | ||
"Square", | ||
"SuperEllipse", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.