Skip to content

Commit

Permalink
fix: move HwMode to bitfield module
Browse files Browse the repository at this point in the history
  • Loading branch information
esynr3z committed Oct 31, 2024
1 parent d16e70f commit 5161389
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion corsair/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

from __future__ import annotations

from .hwmode import HwMode
from .bitfield import HwMode

__all__ = ("HwMode",)
2 changes: 1 addition & 1 deletion corsair/core/hwmode.py → corsair/core/bitfield.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Enumeration for hardare modes of a bitfield."""
"""Data models and types to represent bitfield within CSR."""

from __future__ import annotations

Expand Down
3 changes: 3 additions & 0 deletions tests/core/test_hwmode.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@

from corsair import HwMode

# All tests below can be used in smoke testing
pytestmark = pytest.mark.smoke


def test_aliases() -> None:
"""Test for aliases."""
Expand Down

0 comments on commit 5161389

Please sign in to comment.