Skip to content

Commit

Permalink
minor cleanup stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
sezanzeb committed Oct 1, 2024
1 parent c0c884f commit f2457eb
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 9 deletions.
7 changes: 4 additions & 3 deletions tests/integration/test_daemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,16 @@
#
# You should have received a copy of the GNU General Public License
# along with input-remapper. If not, see <https://www.gnu.org/licenses/>.
from tests.lib.test_setup import is_service_running

import os
import multiprocessing
import unittest
import os
import time
import unittest

import gi

from tests.lib.test_setup import is_service_running

gi.require_version("Gtk", "3.0")
from gi.repository import Gtk

Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_data_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#
# You should have received a copy of the GNU General Public License
# along with input-remapper. If not, see <https://www.gnu.org/licenses/>.

import os
import time
import unittest
Expand Down
3 changes: 2 additions & 1 deletion tests/unit/test_event_pipeline/test_axis_transformation.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@
#
# You should have received a copy of the GNU General Public License
# along with input-remapper. If not, see <https://www.gnu.org/licenses/>.

import dataclasses
import functools
import unittest
import itertools
import unittest
from typing import Iterable, List

from inputremapper.injection.mapping_handlers.axis_transform import Transformation
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_event_pipeline/test_event_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#
# You should have received a copy of the GNU General Public License
# along with input-remapper. If not, see <https://www.gnu.org/licenses/>.

import asyncio
import unittest
from typing import Iterable
Expand Down
10 changes: 5 additions & 5 deletions tests/unit/test_global_uinputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,25 @@
#
# You should have received a copy of the GNU General Public License
# along with input-remapper. If not, see <https://www.gnu.org/licenses/>.
from inputremapper.input_event import InputEvent
from tests.lib.cleanup import cleanup

import sys
import unittest
import evdev

from unittest.mock import patch

import evdev
from evdev.ecodes import (
KEY_A,
ABS_X,
)

from inputremapper.exceptions import EventNotHandled, UinputNotAvailable
from inputremapper.injection.global_uinputs import (
global_uinputs,
FrontendUInput,
GlobalUInputs,
)
from inputremapper.exceptions import EventNotHandled, UinputNotAvailable
from inputremapper.input_event import InputEvent
from tests.lib.cleanup import cleanup
from tests.lib.test_setup import test_setup


Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_ipc.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#
# You should have received a copy of the GNU General Public License
# along with input-remapper. If not, see <https://www.gnu.org/licenses/>.

import asyncio
import multiprocessing
import os
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#
# You should have received a copy of the GNU General Public License
# along with input-remapper. If not, see <https://www.gnu.org/licenses/>.

import asyncio
import multiprocessing
import os
Expand Down

0 comments on commit f2457eb

Please sign in to comment.