Skip to content

Remove '__version__' and '__repo__' to save RAM #95

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions adafruit_displayio_layout/layouts/grid_layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@
import displayio
from vectorio import Rectangle

__version__ = "0.0.0+auto.0"
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_Layout.git"


class GridLayout(displayio.Group):
"""
Expand Down
3 changes: 0 additions & 3 deletions adafruit_displayio_layout/layouts/page_layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@

import displayio

__version__ = "0.0.0+auto.0"
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_Layout.git"


class PageLayout(displayio.Group):
"""
Expand Down
3 changes: 0 additions & 3 deletions adafruit_displayio_layout/layouts/tab_layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@
from adafruit_imageload.tilegrid_inflator import inflate_tilegrid
from adafruit_displayio_layout.layouts.page_layout import PageLayout

__version__ = "0.0.0+auto.0"
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_Layout.git"


class TabLayout(displayio.Group):
"""
Expand Down
4 changes: 0 additions & 4 deletions adafruit_displayio_layout/widgets/cartesian.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@
pass


__version__ = "0.0.0+auto.0"
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_Layout.git"


class Cartesian(Widget):
"""A cartesian widget. The origin is set using ``x`` and ``y``.

Expand Down
3 changes: 0 additions & 3 deletions adafruit_displayio_layout/widgets/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@
pass


__version__ = "0.0.0+auto.0"
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_Layout.git"

# pylint: disable=unsubscriptable-object, unnecessary-pass


Expand Down
4 changes: 0 additions & 4 deletions adafruit_displayio_layout/widgets/easing.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,6 @@
import math


__version__ = "0.0.0+auto.0"
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_Layout.git"


# Modeled after the line y = x
def linear_interpolation(pos: float) -> float:
"""
Expand Down
4 changes: 0 additions & 4 deletions adafruit_displayio_layout/widgets/flip_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@
pass


__version__ = "0.0.0+auto.0"
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_Layout.git"


# pylint: disable=too-many-arguments, too-many-branches, too-many-statements
# pylint: disable=too-many-locals, too-many-instance-attributes

Expand Down
4 changes: 0 additions & 4 deletions adafruit_displayio_layout/widgets/icon_animated.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@
pass


__version__ = "0.0.0+auto.0"
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_Layout.git"


class IconAnimated(IconWidget):

"""
Expand Down
4 changes: 0 additions & 4 deletions adafruit_displayio_layout/widgets/icon_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@
pass


__version__ = "0.0.0+auto.0"
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_Layout.git"


class IconWidget(Widget, Control):

"""
Expand Down
4 changes: 0 additions & 4 deletions adafruit_displayio_layout/widgets/switch_round.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@
pass


__version__ = "0.0.0+auto.0"
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_Layout.git"


class SwitchRound(Widget, Control):

"""
Expand Down
3 changes: 0 additions & 3 deletions adafruit_displayio_layout/widgets/widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@
pass


__version__ = "0.0.0+auto.0"
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_Layout.git"

# pylint: disable=too-many-arguments


Expand Down
Loading