diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 71fbea17..22ac3090 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ default_language_version: python: python3 repos: - repo: https://github.com/psf/black - rev: 22.12.0 + rev: 23.1.0 hooks: - id: black - repo: https://github.com/pre-commit/pre-commit-hooks @@ -42,6 +42,6 @@ repos: hooks: - id: seed-isort-config - repo: https://github.com/PyCQA/isort - rev: 5.11.4 + rev: 5.12.0 hooks: - id: isort diff --git a/tests/test_migration_issue_bot.py b/tests/test_migration_issue_bot.py index 5ace8f7c..b54863f7 100644 --- a/tests/test_migration_issue_bot.py +++ b/tests/test_migration_issue_bot.py @@ -67,6 +67,6 @@ def test_set_lines_issue(gh): f"- [ ] {module} - By @{gh_pr_user_login} - #{gh_pr_number}", ), ] - for (old_body, new_body_expected) in body_transformation: + for old_body, new_body_expected in body_transformation: new_body, _ = _set_lines_issue(gh_pr_user_login, gh_pr_number, old_body, module) assert new_body == new_body_expected