---
source: crates/ruff/src/rules/pyflakes/mod.rs
---
F404.py:6:1: F404 `from __future__` imports must occur at the beginning of the file
   |
 6 | from collections import namedtuple
 7 | 
 8 | from __future__ import print_function
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ F404
 9 | 
10 | import __future__
   |

F404.py:8:1: F404 `from __future__` imports must occur at the beginning of the file
   |
 8 | from __future__ import print_function
 9 | 
10 | import __future__
   | ^^^^^^^^^^^^^^^^^ F404
   |


