diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 08b01b5..3457390 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: - name: Install dependencies run: | pip install -U pip - pip install . + pip install -e ".[dev]" - name: Lint and check formatting run: | ruff check . @@ -44,7 +44,7 @@ jobs: - name: Install dependencies run: | pip install -U pip - pip install . + pip install -e ".[dev]" - name: Run all tests run: | pytest . -v diff --git a/README.md b/README.md index 2a56b80..b8a6e87 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ python3 -m venv .venv source .venv/bin/activate # Install the dependencies -pip install -e . +pip install -e ".[dev]" ``` #### Creating the Slack app @@ -84,7 +84,7 @@ python3 -m venv .venv source .venv/bin/activate # Install all the dependencies -pip install -e . +pip install -e ".[dev]" # Start your local server python3 app.py diff --git a/pyproject.toml b/pyproject.toml index f87103a..0d47a31 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,9 +10,13 @@ readme = "README.md" requires-python = ">=3.11" dependencies = [ "slack-bolt==1.30.0", + "slack-cli-hooks<1", +] + +[project.optional-dependencies] +dev = [ "pytest==9.1.1", "ruff==0.16.9", - "slack-cli-hooks<1", ] [tool.setuptools.packages.find]