<commit_before>from os.path import expanduser
from flask import Flask

from flask.ext.stormpath import StormpathManager

app = Flask(__name__)

app.config['SECRET_KEY'] = 'SET T0 4NY SECRET KEY L1KE RAND0M H4SH'
app.config['STORMPATH_API_KEY_FILE'] = expanduser('~/.stormpath/apiKey.properties')
app.config['STORMPATH_APPLICATION'] = 'Penny'

app.config['STORMPATH_LOGIN_URL'] = '/signin'
app.config['STORMPATH_REGISTRATION_URL'] = '/signup'

app.config['STORMPATH_LOGIN_TEMPLATE'] = 'login.html'
app.config['STORMPATH_REGISTRATION_TEMPLATE'] = 'signup.html'

app.config['STORMPATH_REQUIRE_USERNAME'] = False
app.config['STORMPATH_REQUIRE_SURNAME'] = False
app.config['STORMPATH_REQUIRE_MIDDLE_NAME'] = False

stormpath_manager = StormpathManager(app)

from app.views import todo
from app.views import pages
from app.views import astros
from app.views import music
from app.views import wishapi
from app.views import reminders
from app.views import webcomics

app.register_blueprint(pages.mod)
app.register_blueprint(todo.mod, url_prefix='/todos')
app.register_blueprint(reminders.mod, url_prefix='/reminders')
app.register_blueprint(webcomics.mod, url_prefix='/webcomics')
app.register_blueprint(astros.mod, url_prefix='/astros')
app.register_blueprint(music.mod, url_prefix='/music')
app.register_blueprint(wishapi.mod)<commit_msg>Revert "Making fields optional"<commit_after>from os.path import expanduser
from flask import Flask

from flask.ext.stormpath import StormpathManager

app = Flask(__name__)

app.config['SECRET_KEY'] = 'SET T0 4NY SECRET KEY L1KE RAND0M H4SH'
app.config['STORMPATH_API_KEY_FILE'] = expanduser('~/.stormpath/apiKey.properties')
app.config['STORMPATH_APPLICATION'] = 'Penny'

app.config['STORMPATH_LOGIN_URL'] = '/signin'
app.config['STORMPATH_REGISTRATION_URL'] = '/signup'

app.config['STORMPATH_LOGIN_TEMPLATE'] = 'login.html'
app.config['STORMPATH_REGISTRATION_TEMPLATE'] = 'signup.html'


stormpath_manager = StormpathManager(app)

from app.views import todo
from app.views import pages
from app.views import astros
from app.views import music
from app.views import wishapi
from app.views import reminders
from app.views import webcomics

app.register_blueprint(pages.mod)
app.register_blueprint(todo.mod, url_prefix='/todos')
app.register_blueprint(reminders.mod, url_prefix='/reminders')
app.register_blueprint(webcomics.mod, url_prefix='/webcomics')
app.register_blueprint(astros.mod, url_prefix='/astros')
app.register_blueprint(music.mod, url_prefix='/music')
app.register_blueprint(wishapi.mod)
{'fraction_non_alphanumeric': 0.11755424063116371, 'fraction_numerical': 0.0039447731755424065, 'mean_word_length': 7.684931506849315, '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': '2829485', 'n_tokens_mistral': 924, 'n_tokens_neox': 911, 'n_words': 162}