---
source: crates/ruff_linter/src/rules/flake8_type_checking/mod.rs
---
runtime_evaluated_decorators_1.py:12:12: TCH004 [*] Move import `datetime` out of type-checking block. Import is used for more than type hinting.
   |
11 | if TYPE_CHECKING:
12 |     import datetime  # TCH004
   |            ^^^^^^^^ TCH004
13 |     from array import array  # TCH004
   |
   = help: Move out of type-checking block

ℹ Unsafe fix
7  7  | from attrs import frozen
8  8  | 
9  9  | import numpy
   10 |+import datetime
10 11 | 
11 12 | if TYPE_CHECKING:
12    |-    import datetime  # TCH004
13 13 |     from array import array  # TCH004
14 14 | 
15 15 |     import pandas  # TCH004

runtime_evaluated_decorators_1.py:13:23: TCH004 [*] Move import `array.array` out of type-checking block. Import is used for more than type hinting.
   |
11 | if TYPE_CHECKING:
12 |     import datetime  # TCH004
13 |     from array import array  # TCH004
   |                       ^^^^^ TCH004
14 | 
15 |     import pandas  # TCH004
   |
   = help: Move out of type-checking block

ℹ Unsafe fix
7  7  | from attrs import frozen
8  8  | 
9  9  | import numpy
   10 |+from array import array
10 11 | 
11 12 | if TYPE_CHECKING:
12 13 |     import datetime  # TCH004
13    |-    from array import array  # TCH004
14 14 | 
15 15 |     import pandas  # TCH004
16 16 |     import pyproj

runtime_evaluated_decorators_1.py:15:12: TCH004 [*] Move import `pandas` out of type-checking block. Import is used for more than type hinting.
   |
13 |     from array import array  # TCH004
14 | 
15 |     import pandas  # TCH004
   |            ^^^^^^ TCH004
16 |     import pyproj
   |
   = help: Move out of type-checking block

ℹ Unsafe fix
7  7  | from attrs import frozen
8  8  | 
9  9  | import numpy
   10 |+import pandas
10 11 | 
11 12 | if TYPE_CHECKING:
12 13 |     import datetime  # TCH004
13 14 |     from array import array  # TCH004
14 15 | 
15    |-    import pandas  # TCH004
16 16 |     import pyproj
17 17 | 
18 18 | 


