Skip to content

Commit

Permalink
fix f8 linting + tests
Browse files Browse the repository at this point in the history
  • Loading branch information
afourmy committed Oct 8, 2018
1 parent 6a5a681 commit dd0ba67
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
12 changes: 6 additions & 6 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ class ProductionConfig(Config):

# PostgreSQL database
SQLALCHEMY_DATABASE_URI = 'postgresql://{}:{}@{}:{}/{}'.format(
environ.get('GENTELELLA_DATABASE_USER', 'gentelella'),
environ.get('GENTELELLA_DATABASE_PASSWORD', 'gentelella'),
environ.get('GENTELELLA_DATABASE_HOST', 'db'),
environ.get('GENTELELLA_DATABASE_PORT', 5432),
environ.get('GENTELELLA_DATABASE_NAME', 'gentelella')
)
environ.get('GENTELELLA_DATABASE_USER', 'gentelella'),
environ.get('GENTELELLA_DATABASE_PASSWORD', 'gentelella'),
environ.get('GENTELELLA_DATABASE_HOST', 'db'),
environ.get('GENTELELLA_DATABASE_PORT', 5432),
environ.get('GENTELELLA_DATABASE_NAME', 'gentelella')
)


class DebugConfig(Config):
Expand Down
1 change: 0 additions & 1 deletion gentelella.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from flask_migrate import Migrate
from os import environ
from pathlib import Path
from sys import exit

from config import config_dict
Expand Down

0 comments on commit dd0ba67

Please sign in to comment.