Alina Lozovskaya commited on
Commit
e278a6c
·
1 Parent(s): 77a9cb2

Apply Ruff

Browse files
src/reachy_mini_conversation_demo/audio/head_wobbler.py CHANGED
@@ -5,7 +5,7 @@ import queue
5
  import base64
6
  import logging
7
  import threading
8
- from typing import Optional, Tuple
9
 
10
  import numpy as np
11
 
 
5
  import base64
6
  import logging
7
  import threading
8
+ from typing import Tuple, Optional
9
 
10
  import numpy as np
11
 
src/reachy_mini_conversation_demo/moves.py CHANGED
@@ -35,11 +35,10 @@ from __future__ import annotations
35
  import time
36
  import logging
37
  import threading
38
- from typing import Tuple, Optional
 
39
  from collections import deque
40
  from dataclasses import dataclass
41
- from queue import Empty, Queue
42
- from typing import Any, Optional, Tuple
43
 
44
  import numpy as np
45
 
 
35
  import time
36
  import logging
37
  import threading
38
+ from queue import Empty, Queue
39
+ from typing import Any, Tuple, Optional
40
  from collections import deque
41
  from dataclasses import dataclass
 
 
42
 
43
  import numpy as np
44
 
tests/audio/test_head_wobbler.py CHANGED
@@ -1,10 +1,10 @@
1
  """Regression tests for the audio-driven head wobble behaviour."""
2
 
3
- import base64
4
  import math
5
- import threading
6
  import time
7
- from typing import Callable, List, Tuple
 
 
8
 
9
  import numpy as np
10
 
 
1
  """Regression tests for the audio-driven head wobble behaviour."""
2
 
 
3
  import math
 
4
  import time
5
+ import base64
6
+ import threading
7
+ from typing import List, Tuple, Callable
8
 
9
  import numpy as np
10
 
tests/conftest.py CHANGED
@@ -3,6 +3,7 @@
3
  import sys
4
  from pathlib import Path
5
 
 
6
  PROJECT_ROOT = Path(__file__).resolve().parents[1]
7
  SRC_PATH = PROJECT_ROOT / "src"
8
  if str(SRC_PATH) not in sys.path:
 
3
  import sys
4
  from pathlib import Path
5
 
6
+
7
  PROJECT_ROOT = Path(__file__).resolve().parents[1]
8
  SRC_PATH = PROJECT_ROOT / "src"
9
  if str(SRC_PATH) not in sys.path: