Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install dependencies
run: |
pip install -U pip
pip install -r requirements.txt
pip install ".[dev]"
- name: Lint with ruff
run: |
ruff check
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install dependencies
run: |
pip install -U pip
pip install -r requirements.txt
pip install ".[dev]"
- name: Run all tests
run: |
pytest .
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,19 @@ export SLACK_APP_TOKEN=<your-app-token>

#### Initializing the project

**Using Slack CLI:**

```sh
slack create my-bolt-python-custom-step --template slack-samples/bolt-python-custom-step-template
cd my-bolt-python-custom-step
```

**Using git:**

```sh
git clone https://github.com/slack-samples/bolt-python-custom-step-template.git my-bolt-python-custom-step
cd my-bolt-python-custom-step
slack init
```

#### Setup your python virtual environment
Expand All @@ -98,7 +108,7 @@ source .venv/bin/activate # for Windows OS, .\.venv\Scripts\Activate instead sh
#### Install dependencies

```sh
pip3 install -r requirements.txt
pip3 install ".[dev]"
```

</details>
Expand Down
14 changes: 14 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
[project]
name = "bolt-python-custom-step-template"
version = "0.1.0"
dependencies = [
"slack-bolt==1.28.0",
]

[project.optional-dependencies]
dev = [
"pytest==9.0.3",
"ruff==0.15.12",
"slack-cli-hooks<1.0.0",
]

[tool.ruff]
line-length = 125

Expand Down
3 changes: 0 additions & 3 deletions requirements.txt

This file was deleted.