Skip to content

Commit 2ca8210

Browse files
committed
Polish naming convension
1 parent 7c76c1c commit 2ca8210

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

CONTRIBUTING.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Before you raise a PR
5050
Create the **Commit Header** with the relevant Service Name pre-fixed, examples below,
5151

5252
* Jira: review user module :heavy_check_mark:
53-
* [JIRA] Issues Move to Sprint :heavy_check_mark:
53+
* [Jira] Issues Move to Sprint :heavy_check_mark:
5454
* Confluence: update_page_property method :heavy_check_mark:
5555

5656
An example of a commit message header,
@@ -59,7 +59,7 @@ An example of a commit message header,
5959

6060
could be better written as,
6161

62-
* [JIRA] Project Issues parameter addition for start and limit :heavy_check_mark:
62+
* [Jira] Project Issues parameter addition for start and limit :heavy_check_mark:
6363

6464
with the commit body have a detail about where/what changes introduced.
6565

atlassian/rest_client.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,9 @@ def raise_for_status(self, response):
392392
if 400 <= response.status_code < 600:
393393
try:
394394
j = response.json()
395-
error_msg = "\n".join(j.get("errorMessages", list()) + [k + ": " + v for k, v in j.get("errors", dict()).items()])
395+
error_msg = "\n".join(
396+
j.get("errorMessages", list()) + [k + ": " + v for k, v in j.get("errors", dict()).items()]
397+
)
396398
except Exception:
397399
response.raise_for_status()
398400
else:

0 commit comments

Comments
 (0)