Hello I'm trying to import routes to init.py and I'm keep getting circular import error because probably formatter moves up my import statement and I'm wondering what can I do with it my code should look like this
from flask import Flask
app = Flask(__name__)
from .config import Config
app.config.from_object(Config)
from app import routes
But because of this "bug" I'm getting this
from app import routes
from .config import Config
from flask import Flask
app = Flask(__name__)
app.config.from_object(Config)
When I removed formatter code stays good but I want to have formatter