Format files by pre-commit run -a

Signed-off-by: Yu Ishikawa <yu-iskw@users.noreply.github.com>
This commit is contained in:
Yu Ishikawa
2024-10-30 09:56:03 +09:00
parent a3d572fb69
commit 81dea65856
122 changed files with 428 additions and 396 deletions

View File

@ -1,8 +1,10 @@
from unittest.mock import MagicMock
from atlassian.bitbucket import Bitbucket
from pr_agent.algo.types import EDIT_TYPE, FilePatchInfo
from pr_agent.git_providers import BitbucketServerProvider
from pr_agent.git_providers.bitbucket_provider import BitbucketProvider
from unittest.mock import MagicMock
from atlassian.bitbucket import Bitbucket
from pr_agent.algo.types import EDIT_TYPE, FilePatchInfo
class TestBitbucketProvider:
@ -121,7 +123,7 @@ class TestBitbucketServerProvider:
NOT between the HEAD of main and the HEAD of branch b
- o - o - o branch b
/ /
/ /
o - o -- o - o main
^ node c
'''
@ -183,7 +185,7 @@ class TestBitbucketServerProvider:
---- o - o branch c
/ /
---- o branch b
/ /
/ /
o - o - o main
^ node d
'''
@ -294,4 +296,4 @@ class TestBitbucketServerProvider:
actual = provider.get_diff_files()
assert actual == expected
assert actual == expected