Skip to content

Commit

Permalink
Updates for linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
texasaggie97 committed Jul 17, 2024
1 parent 552e047 commit 03af46b
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 10 deletions.
1 change: 0 additions & 1 deletion tests/acceptance/test_multi_threading.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

from nidaqmx import Task
from nidaqmx.constants import AcquisitionType
from nidaqmx.errors import RpcError
from nidaqmx.system import Device, System
from nidaqmx.task.channels import AIChannel
from tests.helpers import generate_random_seed
Expand Down
3 changes: 0 additions & 3 deletions tests/component/system/test_device.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
import pytest

from nidaqmx.errors import RpcError
from nidaqmx.system import Device


Expand Down
1 change: 0 additions & 1 deletion tests/component/task/test_in_stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import nidaqmx
import nidaqmx.system
from nidaqmx.constants import AcquisitionType, LoggingMode, LoggingOperation
from nidaqmx.errors import DaqError

# With a simulated X Series, setting ai_max/min to +/-2.5 V coerces the hardware range
# to +/-5 V and generates a noisy sine wave with range +/-2.5 V (raw: about +/-16383).
Expand Down
1 change: 0 additions & 1 deletion tests/component/task/test_in_stream_read_properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import pytest

from nidaqmx.constants import OverwriteMode, ReadRelativeTo
from nidaqmx.errors import DaqError
from nidaqmx.task import Task


Expand Down
1 change: 0 additions & 1 deletion tests/component/test_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import nidaqmx.system
from nidaqmx.constants import ShuntCalSelect, ShuntCalSource, ShuntElementLocation
from nidaqmx.error_codes import DAQmxErrors
from nidaqmx.errors import RpcError
from nidaqmx.system.storage import PersistedChannel


Expand Down
2 changes: 1 addition & 1 deletion tests/component/test_task_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import nidaqmx.system
from nidaqmx.constants import AcquisitionType, EveryNSamplesEventType, Signal
from nidaqmx.error_codes import DAQmxErrors
from nidaqmx.errors import DaqResourceWarning, RpcError
from nidaqmx.errors import DaqResourceWarning
from nidaqmx.task import _TaskEventType
from tests._event_utils import (
DoneEventObserver,
Expand Down
1 change: 0 additions & 1 deletion tests/legacy/test_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import pytest

from nidaqmx.constants import AcquisitionType
from nidaqmx.errors import RpcError
from tests.helpers import generate_random_seed


Expand Down
1 change: 0 additions & 1 deletion tests/legacy/test_read_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import nidaqmx.stream_readers
from nidaqmx.constants import AcquisitionType, BusType, Level, TaskMode
from nidaqmx.error_codes import DAQmxErrors
from nidaqmx.errors import RpcError


class TestReadExceptions:
Expand Down

0 comments on commit 03af46b

Please sign in to comment.