Skip to content
Merged
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
</p>

This library defines the contract between the
[Slack CLI](https://api.slack.com/automation/cli/install) and
[Slack CLI](https://tools.slack.dev/slack-cli/) and
[Bolt for Python](https://slack.dev/bolt-python/).

## Overview

This library enables inter-process communication between the [Slack CLI](https://api.slack.com/automation/cli/install) and applications built with Bolt for Python.
This library enables inter-process communication between the [Slack CLI](https://tools.slack.dev/slack-cli/) and applications built with Bolt for Python.

When used together, the CLI delegates various tasks to the Bolt application by invoking processes ("hooks") and then making use of the responses provided by each hook's `stdout`.

Expand Down
4 changes: 2 additions & 2 deletions slack_cli_hooks/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
A Slack CLI hooks implementation in Python to build Bolt Slack apps leveraging the full power of the [Slack CLI](https://api.slack.com/automation/cli/install). Look at our [code examples](https://github.com/slackapi/python-slack-hooks/tree/main/examples) to learn how to build apps using the SLack CLI and Bolt.
A Slack CLI hooks implementation in Python to build Bolt Slack apps leveraging the full power of the [Slack CLI](https://tools.slack.dev/slack-cli/). Look at our [code examples](https://github.com/slackapi/python-slack-hooks/tree/main/examples) to learn how to build apps using the SLack CLI and Bolt.

* Slack CLI: https://api.slack.com/automation/cli/install
* Slack CLI: https://tools.slack.dev/slack-cli/
* Bolt Website: https://slack.dev/bolt-python/
* GitHub repository: https://github.com/slackapi/python-slack-hooks
""" # noqa: E501
3 changes: 1 addition & 2 deletions slack_cli_hooks/hooks/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
"""Slack CLI contract implementation for Bolt.
"""
"""Slack CLI contract implementation for Bolt."""
4 changes: 2 additions & 2 deletions slack_cli_hooks/hooks/check_update.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
import json
from http.client import HTTPResponse
import sys
from http.client import HTTPResponse
from types import ModuleType
from typing import Any, Dict, List, Optional, TypedDict
from urllib import request
Expand Down Expand Up @@ -91,7 +91,7 @@ def build_release(dependency: ModuleType) -> Release:


def build_output(dependencies: List[ModuleType] = DEPENDENCIES) -> OutputType:
output: OutputType = {"name": "Slack Bolt", "url": "https://api.slack.com/automation/changelog", "releases": []}
output: OutputType = {"name": "Slack Bolt", "url": "https://docs.slack.dev/changelog", "releases": []}
errors = []

for dep in dependencies:
Expand Down
2 changes: 1 addition & 1 deletion tests/slack_cli_hooks/hooks/test_check_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,6 @@ def test_build_output(self):

assert actual == {
"name": "Slack Bolt",
"url": "https://api.slack.com/automation/changelog",
"url": "https://docs.slack.dev/changelog",
"releases": [],
}