<commit_before>from flask import Flask
from flask_sqlalchemy import SQLAlchemy
from flask_migrate import Migrate
from flask_mail import Mail
from flask_user import UserManager, SQLAlchemyAdapter
from flask_bootstrap import Bootstrap

app = Flask(__name__)
app.config.from_object('config')

db = SQLAlchemy(app)
migrate = Migrate(app, db)

# Load Flask-Mail
mail = Mail(app)

# Set up bootstrap
Bootstrap(app)

# Configure user model for Flask-User
from app.models import User

db_adapter = SQLAlchemyAdapter(db, User)
user_manager = UserManager(db_adapter, app)


from app import views, models
<commit_msg>Clarify setting up SQLAlchemy<commit_after>from flask import Flask
from flask_sqlalchemy import SQLAlchemy
from flask_migrate import Migrate
from flask_mail import Mail
from flask_user import UserManager, SQLAlchemyAdapter
from flask_bootstrap import Bootstrap

app = Flask(__name__)
app.config.from_object('config')

# Set up SQLAlchemy and Migrate
db = SQLAlchemy(app)
migrate = Migrate(app, db)

# Load Flask-Mail
mail = Mail(app)

# Set up bootstrap
Bootstrap(app)

# Configure user model for Flask-User
from app.models import User

db_adapter = SQLAlchemyAdapter(db, User)
user_manager = UserManager(db_adapter, app)


from app import views, models

{'fraction_non_alphanumeric': 0.06428571428571428, 'fraction_numerical': 0.0, 'mean_word_length': 6.1647727272727275, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '864353', 'n_tokens_mistral': 423, 'n_tokens_neox': 391, 'n_words': 130}