Skip to content

Commit 289e4cf

Browse files
committed
Finished applying blacken-docs, closes #1718
1 parent 498e153 commit 289e4cf

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/test.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,5 @@ jobs:
3434
cog --check docs/*.rst
3535
- name: Check if blacken-docs needs to be run
3636
run: |
37+
# This fails on syntax errors, or a diff was applied
3738
blacken-docs -l 60 docs/*.rst
38-
# This fails if a diff was generated:
39-
git diff-index --quiet HEAD --

docs/testing_plugins.rst

+3-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,9 @@ Here's an example that uses the `sqlite-utils library <https://sqlite-utils.data
118118
119119
@pytest.mark.asyncio
120120
async def test_example_table_json(datasette):
121-
response = await datasette.client.get("/test/dogs.json?_shape=array")
121+
response = await datasette.client.get(
122+
"/test/dogs.json?_shape=array"
123+
)
122124
assert response.status_code == 200
123125
assert response.json() == [
124126
{"id": 1, "name": "Cleo", "age": 5},

0 commit comments

Comments
 (0)