File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,11 +14,13 @@ This project uses [uv](https://docs.astral.sh/uv/) for dependency management.
1414### Installation
1515
16161 . Install uv if you haven't already:
17+
1718 ``` bash
1819 curl -LsSf https://astral.sh/uv/install.sh | sh
1920 ```
2021
21222 . Install dependencies:
23+
2224 ``` bash
2325 uv sync
2426 ```
@@ -33,7 +35,7 @@ uv run python chatbot.py
3335
3436Create a ` .env ` file with the following variables:
3537
36- ```
38+ ``` txt
3739SLACK_APP_TOKEN=xapp-...
3840SLACK_BOT_TOKEN=xoxb-...
3941OPENAI_API_KEY=sk-...
@@ -58,13 +60,13 @@ uv run pytest
5860Format code:
5961
6062``` bash
61- uv run black .
63+ uv run ruff format .
6264```
6365
6466Lint code:
6567
6668``` bash
67- uv run flake8 .
69+ uv run ruff check .
6870```
6971
7072### Docker
@@ -74,4 +76,4 @@ Build and run with Docker:
7476``` bash
7577docker build -t samu-hub-chatbot .
7678docker run -d --env-file .env samu-hub-chatbot
77- ```
79+ ```
You can’t perform that action at this time.
0 commit comments