Skip to content

Commit

Permalink
Resolve logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
toddbirchard committed Jun 13, 2024
1 parent 0c4fd8f commit 6d431f5
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 42 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -116,5 +116,5 @@ gcloud.json
.webassets-cache

# IDES
.idea
.vscode
.idea/
.vscode/
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ lint: env
--show-source \
--statistics


.PHONY: clean
clean:
find . -name 'poetry.lock' -delete && \
Expand Down
2 changes: 1 addition & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ class Config:
"""Global configuration variables."""

# General Config
FLASK_APP = environ.get("FLASK_APP")
ENVIRONMENT = environ.get("ENVIRONMENT")
SECRET_KEY = environ.get("SECRET_KEY")
FLASK_APP = environ.get("FLASK_APP")
FLASK_DEBUG = environ.get("FLASK_DEBUG")

# Database
Expand Down
4 changes: 2 additions & 2 deletions gunicorn.conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
ENVIRONMENT = environ.get("ENVIRONMENT")

proc_name = "pythonmyadmin"
wsgi_app = "wsgi:app"
bind = "unix:flask.sock"
wsgi_app = "main:app"
bind = "unix:pythonmyadmin.sock"
threads = 4
workers = 2

Expand Down
File renamed without changes.
32 changes: 16 additions & 16 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ gunicorn = "*"
poetry-plugin-export = "*"

[tool.poetry.scripts]
run = "wsgi:app"
run = "main:app"

[tool.poetry.urls]
issues = "https://github.com/toddbirchard/pythonmyadmin/issues"
Expand Down
15 changes: 0 additions & 15 deletions pythonmyadmin.ini

This file was deleted.

8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ dash-core-components==2.0.0 ; python_version >= "3.10" and python_version < "4.0
dash-html-components==2.0.0 ; python_version >= "3.10" and python_version < "4.0"
dash-renderer==1.9.1 ; python_version >= "3.10" and python_version < "4.0"
dash-table==5.0.0 ; python_version >= "3.10" and python_version < "4.0"
dash==2.17.0 ; python_version >= "3.10" and python_version < "4.0"
dash==2.17.1 ; python_version >= "3.10" and python_version < "4.0"
distlib==0.3.8 ; python_version >= "3.10" and python_version < "4.0"
dulwich==0.21.7 ; python_version >= "3.10" and python_version < "4.0"
exceptiongroup==1.2.1 ; python_version >= "3.10" and python_version < "3.11"
fastjsonschema==2.19.1 ; python_version >= "3.10" and python_version < "4.0"
filelock==3.14.0 ; python_version >= "3.10" and python_version < "4.0"
filelock==3.15.1 ; python_version >= "3.10" and python_version < "4.0"
flake8==7.0.0 ; python_version >= "3.10" and python_version < "4.0"
flask-assets==2.1.0 ; python_version >= "3.10" and python_version < "4.0"
flask-sqlalchemy==3.1.1 ; python_version >= "3.10" and python_version < "4.0"
Expand All @@ -42,12 +42,12 @@ keyring==24.3.1 ; python_version >= "3.10" and python_version < "4.0"
lesscpy==0.15.1 ; python_version >= "3.10" and python_version < "4.0"
markupsafe==2.1.5 ; python_version >= "3.10" and python_version < "4.0"
mccabe==0.7.0 ; python_version >= "3.10" and python_version < "4.0"
more-itertools==10.2.0 ; python_version >= "3.10" and python_version < "4.0"
more-itertools==10.3.0 ; python_version >= "3.10" and python_version < "4.0"
msgpack==1.0.8 ; python_version >= "3.10" and python_version < "4.0"
mypy-extensions==1.0.0 ; python_version >= "3.10" and python_version < "4.0"
nest-asyncio==1.6.0 ; python_version >= "3.10" and python_version < "4.0"
numpy==1.26.4 ; python_version >= "3.10" and python_version <= "3.11" or python_version >= "3.12" and python_version < "4.0"
packaging==24.0 ; python_version >= "3.10" and python_version < "4.0"
packaging==24.1 ; python_version >= "3.10" and python_version < "4.0"
pandas==2.2.2 ; python_version >= "3.10" and python_version < "4.0"
pathspec==0.12.1 ; python_version >= "3.10" and python_version < "4.0"
pexpect==4.9.0 ; python_version >= "3.10" and python_version < "4.0"
Expand Down
1 change: 1 addition & 0 deletions table/tableview.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ def create_data_table(table_df: DataFrame) -> DataTable:
"color": "#636a73",
"text-align": "left",
"border": "0",
"transition": "all 2s ease-out",
},
style_header={"font-size": "1em"},
style_data_conditional=[
Expand Down

0 comments on commit 6d431f5

Please sign in to comment.