Skip to content

Commit

Permalink
rerun pre-commit on blacken docs (#613)
Browse files Browse the repository at this point in the history
* rerun CI on blacken docs
* pin black version
  • Loading branch information
beliaev-maksim authored Jan 6, 2023
1 parent 5396a58 commit 1570b1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ repos:
rev: v1.12.1
hooks:
- id: blacken-docs
additional_dependencies: [ black ]
additional_dependencies: [ black == 23.1a1 ]
3 changes: 1 addition & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -760,6 +760,7 @@ Example that shows how to set custom registry
print("Before tests:", responses.mock.get_registry())
""" Before tests: <responses.registries.FirstMatchRegistry object> """
# using function decorator
@responses.activate(registry=CustomRegistry)
def run():
Expand Down Expand Up @@ -1026,7 +1027,6 @@ to check how many times each request was matched.
@responses.activate
def test_call_count_with_matcher():
rsp = responses.get(
"http://www.example.com",
match=(matchers.query_param_matcher({}),),
Expand Down Expand Up @@ -1310,7 +1310,6 @@ replaced.
@responses.activate
def test_replace():
responses.get("http://example.org", json={"data": 1})
responses.replace(responses.GET, "http://example.org", json={"data": 2})
Expand Down

0 comments on commit 1570b1a

Please sign in to comment.