aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/wee-slack.yml4
-rw-r--r--docs/contributing.md4
2 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/wee-slack.yml b/.github/workflows/wee-slack.yml
index 9baf5ba..c017175 100644
--- a/.github/workflows/wee-slack.yml
+++ b/.github/workflows/wee-slack.yml
@@ -24,9 +24,9 @@ jobs:
- run: poetry install
- - run: poetry run isort --check main.py slack tests typings
+ - run: poetry run ruff format --check --target-version py37
- - run: poetry run black --check .
+ - run: poetry run ruff check --target-version py37 main.py slack tests typings
- run: poetry run pyright --pythonversion 3.7 main.py slack tests typings
diff --git a/docs/contributing.md b/docs/contributing.md
index f9dfc0e..a9f4827 100644
--- a/docs/contributing.md
+++ b/docs/contributing.md
@@ -26,11 +26,11 @@ activated, and that you have the latest development dependencies installed.
## Formatting
-The code is formatted with [`black`](https://black.readthedocs.io/). To format
+The code is formatted with [`ruff`](https://docs.astral.sh/ruff/). To format
all the files, first navigate to the project root, and then execute:
```
-$ black .
+$ ruff format --target-version py37
```
## Linting