Skip to content

Commit 30fe409

Browse files
remove import future ___
1 parent 531e09b commit 30fe409

File tree

162 files changed

+54
-388
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

162 files changed

+54
-388
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@ repos:
4747
rev: v3.9.0
4848
hooks:
4949
- id: reorder-python-imports
50-
args:
51-
- --add-import
52-
- from __future__ import annotations
5350

5451

5552
- repo: https://github.com/shellcheck-py/shellcheck-py

core/pioreactor/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
# -*- coding: utf-8 -*-
2-
from __future__ import annotations
3-
42
from pioreactor.version import __version__ # noqa: F401

core/pioreactor/actions/leader/backup_database.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
from __future__ import annotations
3-
42
import os
53
import subprocess
64
from pathlib import Path

core/pioreactor/actions/leader/experiment_profile.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
from __future__ import annotations
3-
42
import random
53
import time
64
from collections import defaultdict

core/pioreactor/actions/leader/export_experiment_data.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# -*- coding: utf-8 -*-
22
# export experiment data
33
# See create_tables.sql for all tables
4-
from __future__ import annotations
5-
64
import sys
75
from base64 import b64decode
86
from contextlib import closing

core/pioreactor/actions/led_intensity.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
from __future__ import annotations
3-
42
import os
53
from contextlib import contextmanager
64
from contextlib import nullcontext

core/pioreactor/actions/od_blank.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
from __future__ import annotations
3-
42
from collections import defaultdict
53
from contextlib import nullcontext
64
from json import dumps

core/pioreactor/actions/pump.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
from __future__ import annotations
3-
42
import time
53
from concurrent.futures import ThreadPoolExecutor
64
from configparser import NoOptionError

core/pioreactor/actions/pumps.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# -*- coding: utf-8 -*-
22
# pumps.py
33
# a higher-level CLI API than the `pio run add_*` api
4-
from __future__ import annotations
5-
64
import time
75
from typing import Callable
86

core/pioreactor/actions/self_test.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
77
Outputs from each test go into MQTT, and return to the command line.
88
"""
9-
from __future__ import annotations
10-
119
import sys
1210
from json import dumps
1311
from threading import Thread
@@ -370,7 +368,6 @@ def test_detect_heating_pcb(managed_state, logger: CustomLogger, unit: str, expe
370368
assert is_heating_pcb_present(), "Heater PCB is not connected, or i2c is not working."
371369

372370

373-
374371
def test_positive_correlation_between_temperature_and_heating(
375372
managed_state, logger: CustomLogger, unit: str, experiment: str
376373
) -> None:

0 commit comments

Comments
 (0)