Skip to content

Commit

Permalink
Fix a mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
meowmeowahr committed Feb 19, 2024
1 parent 0ca9394 commit ca9f03b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
3 changes: 3 additions & 0 deletions animator/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,23 @@ class FadeArgs:

@dataclass
class FlashArgs:
"Flash Animation options"
colora: tuple = (255, 0, 0)
colorb: tuple = (0, 0, 0)
speed: float = 25


@dataclass
class WipeArgs:
"Wipe Animation options"
colora: tuple = (255, 0, 0)
colorb: tuple = (0, 0, 255)
leds_iter: int = 1


@dataclass
class AnimationArgs:
"Options for animations"
single_color: SingleColorArgs = SingleColorArgs()
fade: FadeArgs = FadeArgs()
flash: FlashArgs = FlashArgs()
Expand Down
File renamed without changes.

0 comments on commit ca9f03b

Please sign in to comment.