Skip to content

Commit

Permalink
application startup fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nuwan-samarasinghe committed Sep 16, 2024
1 parent 6615adc commit e7fe08c
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 138 deletions.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web: gunicorn wsgi:app -c run/gunicorn/devtest.py
web: gunicorn wsgi:app -c devtest.py
3 changes: 3 additions & 0 deletions devtest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from fsd_utils.gunicorn.config.devtest import * # noqa

# bind = "127.0.0.1:5000"
3 changes: 3 additions & 0 deletions local.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from fsd_utils.gunicorn.config.local import * # noqa

# bind = "127.0.0.1:5000"
31 changes: 0 additions & 31 deletions requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -61,34 +61,3 @@ funding-service-design-utils>=4.0.1
jsonschema
openpyxl
pandas


#-----------------------------------
# Pytest
#-----------------------------------

pytest==8.3.2
pytest-mock==3.14.0
pytest-html>=3.2.0
pytest-env==1.1.3

#-----------------------------------
# Dev Utils
#-----------------------------------
invoke==2.2.0
pre-commit==3.8.0
debugpy
python-dotenv

#-----------------------------------
# Code Quality
#-----------------------------------
flake8==7.1.1
flake8-pyproject==1.2.3
black==24.8.0
djlint

#-----------------------------------
# Other Dev Dependencies
#-----------------------------------
beautifulsoup4==4.12.3
112 changes: 6 additions & 106 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile requirements-dev.in
# pip-compile requirements.in
#
airium==0.2.6
# via -r requirements.in
Expand All @@ -15,11 +15,7 @@ attrs==24.2.0
babel==2.15.0
# via flask-babel
beautifulsoup4==4.12.3
# via
# -r requirements-dev.in
# funding-service-design-utils
black==24.8.0
# via -r requirements-dev.in
# via funding-service-design-utils
blinker==1.8.2
# via
# flask
Expand All @@ -40,45 +36,18 @@ certifi==2024.7.4
# sentry-sdk
cffi==1.16.0
# via cryptography
cfgv==3.4.0
# via pre-commit
charset-normalizer==3.3.2
# via requests
click==8.1.7
# via
# black
# djlint
# flask
colorama==0.4.6
# via djlint
# via flask
commonmark==0.9.1
# via rich
cryptography==43.0.1
# via pyjwt
cssbeautifier==1.15.1
# via djlint
cssmin==0.2.0
# via -r requirements.in
debugpy==1.8.2
# via -r requirements-dev.in
distlib==0.3.8
# via virtualenv
djlint==1.34.1
# via -r requirements-dev.in
editorconfig==0.12.4
# via
# cssbeautifier
# jsbeautifier
et-xmlfile==1.1.0
# via openpyxl
filelock==3.15.4
# via virtualenv
flake8==7.1.1
# via
# -r requirements-dev.in
# flake8-pyproject
flake8-pyproject==1.2.3
# via -r requirements-dev.in
flask==3.0.3
# via
# -r requirements.in
Expand Down Expand Up @@ -124,18 +93,8 @@ greenlet==3.0.3
# via sqlalchemy
gunicorn==22.0.0
# via funding-service-design-utils
html-tag-names==0.1.2
# via djlint
html-void-elements==0.1.0
# via djlint
identify==2.5.36
# via pre-commit
idna==3.7
# via requests
iniconfig==2.0.0
# via pytest
invoke==2.2.0
# via -r requirements-dev.in
itsdangerous==2.2.0
# via
# flask
Expand All @@ -145,19 +104,12 @@ jinja2==3.1.4
# flask
# flask-babel
# govuk-frontend-jinja
# pytest-html
jmespath==1.0.1
# via
# boto3
# botocore
jsbeautifier==1.15.1
# via
# cssbeautifier
# djlint
jsmin==3.0.1
# via -r requirements.in
json5==0.9.25
# via djlint
jsonschema==4.23.0
# via -r requirements.in
jsonschema-specifications==2023.12.1
Expand All @@ -175,50 +127,26 @@ marshmallow==3.21.3
# via marshmallow-sqlalchemy
marshmallow-sqlalchemy==1.0.0
# via -r requirements.in
mccabe==0.7.0
# via flake8
mypy==1.10.1
# via sqlalchemy
mypy-extensions==1.0.0
# via
# black
# mypy
nodeenv==1.9.1
# via pre-commit
# via mypy
numpy==2.0.1
# via pandas
openpyxl==3.1.5
# via -r requirements.in
packaging==24.1
# via
# black
# gunicorn
# marshmallow
# pytest
pandas==2.2.2
# via -r requirements.in
pathspec==0.12.1
# via
# black
# djlint
platformdirs==4.2.2
# via
# black
# virtualenv
pluggy==1.5.0
# via pytest
pre-commit==3.8.0
# via -r requirements-dev.in
psycopg2-binary==2.9.9
# via -r requirements.in
pycodestyle==2.12.1
# via flake8
pycparser==2.22
# via cffi
pyee==6.0.0
# via flipper-client
pyflakes==3.2.0
# via flake8
pygments==2.18.0
# via rich
pyjwt[crypto]==2.8.0
Expand All @@ -227,31 +155,14 @@ pyjwt[crypto]==2.8.0
# pyjwt
pyscss==1.4.0
# via -r requirements.in
pytest==8.3.2
# via
# -r requirements-dev.in
# pytest-env
# pytest-html
# pytest-metadata
# pytest-mock
pytest-env==1.1.3
# via -r requirements-dev.in
pytest-html==4.1.1
# via -r requirements-dev.in
pytest-metadata==3.1.1
# via pytest-html
pytest-mock==3.14.0
# via -r requirements-dev.in
python-consul==1.1.0
# via flipper-client
python-dateutil==2.9.0.post0
# via
# botocore
# pandas
python-dotenv==1.0.1
# via
# -r requirements-dev.in
# funding-service-design-utils
# via funding-service-design-utils
python-json-logger==2.0.7
# via funding-service-design-utils
pytz==2024.1
Expand All @@ -260,10 +171,7 @@ pytz==2024.1
# funding-service-design-utils
# pandas
pyyaml==6.0.1
# via
# djlint
# funding-service-design-utils
# pre-commit
# via funding-service-design-utils
redis==4.6.0
# via
# flask-redis
Expand All @@ -272,8 +180,6 @@ referencing==0.35.1
# via
# jsonschema
# jsonschema-specifications
regex==2023.12.25
# via djlint
requests==2.32.3
# via
# -r requirements.in
Expand All @@ -291,8 +197,6 @@ sentry-sdk[flask]==2.10.0
# via funding-service-design-utils
six==1.16.0
# via
# cssbeautifier
# jsbeautifier
# pyscss
# python-consul
# python-dateutil
Expand All @@ -316,8 +220,6 @@ sqlalchemy-utils==0.41.2
# funding-service-design-utils
thrift==0.20.0
# via flipper-client
tqdm==4.66.4
# via djlint
typing-extensions==4.12.2
# via
# alembic
Expand All @@ -330,8 +232,6 @@ urllib3==2.2.2
# botocore
# requests
# sentry-sdk
virtualenv==20.26.3
# via pre-commit
webassets==2.0
# via flask-assets
werkzeug==3.0.3
Expand Down

0 comments on commit e7fe08c

Please sign in to comment.