Skip to content
Snippets Groups Projects

Update pipeline to check types and formatting

Merged karp requested to merge update-pipeline into master
1 file
+ 21
0
Compare changes
  • Side-by-side
  • Inline
from flask import Flask
from flask_sqlalchemy import DefaultMeta
from portal import db
BaseModel: DefaultMeta = db.Model
class FlaskConfigEntry(db.Model):
class FlaskConfigEntry(BaseModel):
"""
A configuration entry for Flask (a key-value pair) as persisted in a database
"""
Loading