Skip to content

Commit 16f762f

Browse files
committed
For tests
1 parent d383d20 commit 16f762f

File tree

6 files changed

+10
-6
lines changed

6 files changed

+10
-6
lines changed

atlassian/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
"""
2+
Atlassian Python API
3+
"""
4+
15
from .bamboo import Bamboo
26
from .bitbucket import Bitbucket
37
from .bitbucket import Bitbucket as Stash

atlassian/bamboo.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import logging
33

44
from requests.exceptions import HTTPError
5+
56
from .rest_client import AtlassianRestAPI
67

78
log = logging.getLogger(__name__)

atlassian/bitbucket/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
import copy
44
import re
55
import sys
6-
76
from datetime import datetime
87
from pprint import PrettyPrinter
8+
99
from ..rest_client import AtlassianRestAPI
1010

1111
RE_TIMEZONE = re.compile(r"(\d{2}):(\d{2})$")

atlassian/bitbucket/cloud/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
# coding=utf-8
22

33
from .base import BitbucketCloudBase
4-
from .workspaces import Workspaces
54
from .repositories import Repositories
6-
5+
from .workspaces import Workspaces
76

87
class Cloud(BitbucketCloudBase):
98
def __init__(self, url="https://api.bitbucket.org/", *args, **kwargs):

atlassian/bitbucket/cloud/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# coding=utf-8
22

33
import logging
4-
from ..base import BitbucketBase
5-
64
from requests import HTTPError
75

6+
from ..base import BitbucketBase
7+
88
log = logging.getLogger(__name__)
99

1010

atlassian/jira.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5744,7 +5744,7 @@ def flag_issue(self, issue_keys: List[T_id], flag: bool = True) -> T_resp_json:
57445744
:return: POST request response.
57455745
:rtype: dict
57465746
"""
5747-
resource = f"xboard/issue/flag/flag.json"
5747+
resource = "xboard/issue/flag/flag.json"
57485748
url = self.get_agile_resource_url(resource, legacy_api=True)
57495749
data = {"issueKeys": issue_keys, "flag": flag}
57505750
return self.post(url, data)

0 commit comments

Comments
 (0)