Skip to content

Commit 3d2a943

Browse files
fix the black and flake8 conflict by removing trailing comma
1 parent de34690 commit 3d2a943

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
max-line-length = 88
33
extend-ignore =
44
# See https://github.com/PyCQA/pycodestyle/issues/373
5-
E203, E231
5+
E203,
66
no-isort-config = True

tests/test_graphql_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def test_execute_query_with_headers(self, post_mock):
8585
"""Sends a graphql POST request with headers."""
8686
client = GraphqlClient(
8787
endpoint="http://www.test-api.com/",
88-
headers={"Content-Type": "application/json", "Existing": "123",},
88+
headers={"Content-Type": "application/json", "Existing": "123"},
8989
)
9090
query = ""
9191
client.execute(query=query, headers={"Existing": "456", "New": "foo"})
@@ -186,7 +186,7 @@ async def test_execute_query_with_headers(self, mock_post):
186186
mock_post.return_value.__aenter__.return_value.json = CoroutineMock()
187187
client = GraphqlClient(
188188
endpoint="http://www.test-api.com/",
189-
headers={"Content-Type": "application/json", "Existing": "123",},
189+
headers={"Content-Type": "application/json", "Existing": "123"},
190190
)
191191
query = ""
192192

0 commit comments

Comments
 (0)