Skip to content

Commit

Permalink
Minor cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
toddbirchard committed Aug 29, 2024
1 parent 85d17aa commit 91d7711
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,4 @@ class Config:


settings = Config()

2 changes: 1 addition & 1 deletion gunicorn.conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
elif ENVIRONMENT == "production":
access_log_format = "%(h)s %(l)s %(u)s %(t)s %(r)s %(s)s %(b)s %(f)s %(a)s"
daemon = True
accesslog = "/var/log/pythonmyadmin/access.json"
accesslog = "/var/log/pythonmyadmin/info.json"
errorlog = "/var/log/pythonmyadmin/error.json"
loglevel = "trace"
dogstatsd_tags = "env:production,service:pythonmyadmin,language:python"
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ run = "wsgi:app"
issues = "https://github.com/toddbirchard/pythonmyadmin/issues"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.masonry.api"

[tool.isort]
profile = "black"
Expand All @@ -67,3 +67,4 @@ disable = "C0103,C0301,W0703,W0621"

[tool.black]
line-length = 120
target-version = ['py310']

0 comments on commit 91d7711

Please sign in to comment.