Skip to content

Commit

Permalink
misc(lint): Fixed lint according to the latest Black version
Browse files Browse the repository at this point in the history
  • Loading branch information
flozz committed Feb 27, 2024
1 parent d69ca46 commit 8303ae0
Show file tree
Hide file tree
Showing 14 changed files with 0 additions and 15 deletions.
1 change: 0 additions & 1 deletion rivalcfg/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
This module generates rivalcfg's CLI.
"""


import os
import sys
import types
Expand Down
1 change: 0 additions & 1 deletion rivalcfg/color_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
This module contains varous helper functions related to color.
"""


import re


Expand Down
1 change: 0 additions & 1 deletion rivalcfg/devices/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@
}
"""


import os

from .. import usbhid
Expand Down
1 change: 0 additions & 1 deletion rivalcfg/handlers/buttons/buttons.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@
---------
"""


import argparse

from ...helpers import parse_param_string, REGEXP_PARAM_STRING
Expand Down
1 change: 0 additions & 1 deletion rivalcfg/handlers/buttons/layout_multimedia.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
This file contains the layout for multimedia keys.
"""


#: The multimedia keys layout
layout = {
"Mute": 0xE2,
Expand Down
1 change: 0 additions & 1 deletion rivalcfg/handlers/multidpi_range.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@
---------
"""


import re
import argparse

Expand Down
1 change: 0 additions & 1 deletion rivalcfg/handlers/range.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
---------
"""


from ..helpers import uint_to_little_endian_bytearray


Expand Down
1 change: 0 additions & 1 deletion rivalcfg/handlers/reactive_rgbcolor.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@
---------
"""


import argparse

from ..color_helpers import is_color, parse_color_string
Expand Down
1 change: 0 additions & 1 deletion rivalcfg/handlers/rgbcolor.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@
---------
"""


import argparse

from ..color_helpers import is_color, parse_color_string
Expand Down
1 change: 0 additions & 1 deletion rivalcfg/handlers/rgbgradient.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@
---------
"""


import argparse

from ..helpers import uint_to_little_endian_bytearray, merge_bytes
Expand Down
1 change: 0 additions & 1 deletion rivalcfg/handlers/rgbgradientv2.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@
---------
"""


from ..helpers import uint_to_little_endian_bytearray, merge_bytes
from ..helpers import bytes_to_high_low_nibbles, nibbles_to_byte
from ..color_helpers import is_color
Expand Down
1 change: 0 additions & 1 deletion rivalcfg/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
This module contains varous helper functions.
"""


import re


Expand Down
1 change: 0 additions & 1 deletion rivalcfg/mouse.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ def get_mouse(vendor_id=0x1038, product_id=None):


class Mouse:

"""Generic class to handle any supported mouse.
.. NOTE::
Expand Down
2 changes: 0 additions & 2 deletions rivalcfg/usbhid.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
RIVALCFG_PROFILE=1038:1702 rivalcfg -h
"""


import os
import struct
from io import BytesIO
Expand Down Expand Up @@ -107,7 +106,6 @@ class DeviceNotFound(Exception):


class FakeDevice:

"""This class simulate an HID device as provided by the `hidapi
<https://pypi.org/project/hidapi/>`_ module.
Expand Down

0 comments on commit 8303ae0

Please sign in to comment.