Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
Merge pull request #14 from mraniki/dev
Browse files Browse the repository at this point in the history
⬆️ 🤖 Dependencies
  • Loading branch information
mraniki authored Sep 10, 2023
2 parents 547a75b + f2b4f35 commit 6cacc66
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
11 changes: 7 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ python = "^3.10"
dynaconf = "^3.1.12"
loguru = "^0.7.0"
uvicorn = "^0.23.0"
fastapi = "^0.101.0"
fastapi = "^0.103.1"
playwright = "^1.36.0"
gspread = "^5.10.0"

Expand All @@ -31,7 +31,7 @@ pytest-cov = "^4.1"
pytest-asyncio = "^0.21.0"
pytest-mock = "^3.11.1"
pytest-loguru = "^0.2.0"
pytest-playwright = "^0.3.3"
pytest-playwright = "^0.4.2"

[tool.poetry.group.dev.dependencies]
python-semantic-release = "^8.0.0"
Expand All @@ -41,7 +41,7 @@ ruff = "*"
optional = true

[tool.poetry.group.docs.dependencies]
sphinx = ">=5,<6"
sphinx = ">=5,<8"
sphinx_bootstrap_theme = "^0.8.1"
sphinxext-remoteliteralinclude = "^0.4.0"

Expand All @@ -56,7 +56,10 @@ pythonpath = [

[tool.semantic_release]
upload_to_vcs_release = true
version_variables = ["pyproject.toml:version","morpho/bot.py:__version__"]
#version_variables = ["pyproject.toml:version"]
version_toml = [
"pyproject.toml:tool.poetry.version",
]
build_command = "pip install poetry && poetry build"
commit_parser = "emoji"

Expand Down
6 changes: 3 additions & 3 deletions src/morpho/bot.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
navigator
"""
__version__ = "0.1.6"
#__version__ = "0.1.6"

import asyncio
import uvicorn
Expand Down Expand Up @@ -120,14 +120,14 @@ async def shutdown_event():
@app.get("/")
def root():
"""Fastapi root"""
return {f"online {__version__}"}
return {"online"}


@app.get("/health")
def health_check():
"""fastapi health"""
logger.info("Healthcheck")
return {f"online {__version__}"}
return {"online"}


if __name__ == '__main__':
Expand Down

0 comments on commit 6cacc66

Please sign in to comment.