Skip to content

Commit

Permalink
fix: update black formatter and fix formatting check
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
  • Loading branch information
dbluhm committed Apr 14, 2022
1 parent 1e42328 commit 176eb2c
Show file tree
Hide file tree
Showing 6 changed files with 71 additions and 37 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repos:
args: ["--config", ".commitlint.config.js"]
additional_dependencies: ['@commitlint/config-conventional']
- repo: https://github.com/psf/black
rev: 20.8b1
rev: 22.3.0
hooks:
- id: black
stages: [commit]
Expand Down
49 changes: 33 additions & 16 deletions int/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion int/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ aries-staticagent = ">=0.9.0rc4"
aiohttp = "^3.7.4"

[tool.poetry.dev-dependencies]
black = "^21.6b0"
black = "^22.3.0"
flake8 = "^3.9.2"
pre-commit = "^2.13.0"

Expand Down
8 changes: 4 additions & 4 deletions int/tests/test_connection_reuse.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ async def test_connection_reuse(
"@type": "https://github.com/hyperledger/aries-toolbox/tree/master/docs/admin-connections/0.1/receive-oob-invitation",
"invitation": invitation.invitation_url,
"auto_accept": True,
}
},
)
await echo.get_message(
echo_connection,
msg_type=(
"https://github.com/hyperledger/aries-toolbox/tree/master/docs/"
"admin-connections/0.1/connected"
)
),
)
connections_initial = await get_connections.asyncio(client=backchannel)
len_conn_initial = len(connections_initial.results)
Expand All @@ -64,14 +64,14 @@ async def test_connection_reuse(
"invitation": invitation.invitation_url,
"auto_accept": True,
"use_existing_connection": True,
}
},
)
await echo.get_message(
echo_connection,
msg_type=(
"https://github.com/hyperledger/aries-toolbox/tree/master/docs/"
"admin-connections/0.1/connected"
)
),
)
connections_final = await get_connections.asyncio(client=backchannel)
len_conn_final = len(connections_final.results)
Expand Down
45 changes: 31 additions & 14 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pytest = "^6.2.4"
pytest-asyncio = "^0.15.1"
asynctest = "0.13.0"
pre-commit = "^2.13.0"
black = "^21.6b0"
black = "^22.3.0"
flake8 = "^3.9.2"

[tool.pytest.ini_options]
Expand Down

0 comments on commit 176eb2c

Please sign in to comment.