From ca9f03b76cfe92e0537d7b5af204f583a04e0d19 Mon Sep 17 00:00:00 2001 From: Kevin Ahr Date: Sun, 18 Feb 2024 21:50:16 -0600 Subject: [PATCH] Fix a mistake --- .github/workflows/pylint.yml | 2 +- animator/__init__.py | 3 +++ animator/requirements.txt => requirements.txt | 0 3 files changed, 4 insertions(+), 1 deletion(-) rename animator/requirements.txt => requirements.txt (100%) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 6c22e49..d9541de 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -17,7 +17,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -r ../../requirements.txt + pip install -r requirements.txt pip install pylint - name: Analysing the code with pylint run: | diff --git a/animator/__init__.py b/animator/__init__.py index f758c95..a63ea27 100644 --- a/animator/__init__.py +++ b/animator/__init__.py @@ -41,6 +41,7 @@ class FadeArgs: @dataclass class FlashArgs: + "Flash Animation options" colora: tuple = (255, 0, 0) colorb: tuple = (0, 0, 0) speed: float = 25 @@ -48,6 +49,7 @@ class FlashArgs: @dataclass class WipeArgs: + "Wipe Animation options" colora: tuple = (255, 0, 0) colorb: tuple = (0, 0, 255) leds_iter: int = 1 @@ -55,6 +57,7 @@ class WipeArgs: @dataclass class AnimationArgs: + "Options for animations" single_color: SingleColorArgs = SingleColorArgs() fade: FadeArgs = FadeArgs() flash: FlashArgs = FlashArgs() diff --git a/animator/requirements.txt b/requirements.txt similarity index 100% rename from animator/requirements.txt rename to requirements.txt