Skip to content

Commit

Permalink
avoiding black formatter inconsistencies between 23.3 and 24.x
Browse files Browse the repository at this point in the history
  • Loading branch information
bandophahita committed Jun 12, 2024
1 parent 13161bb commit 50dd19f
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions atlassian/rest_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ def get(
absolute: bool = ...,
advanced_mode: Literal[True],
) -> bytes:
...
... # fmt: skip

Check warning on line 359 in atlassian/rest_client.py

View check run for this annotation

Codecov / codecov/patch

atlassian/rest_client.py#L359

Added line #L359 was not covered by tests

# not_json_response True
@overload
Expand All @@ -373,7 +373,7 @@ def get(
absolute: bool = ...,
advanced_mode: bool = ...,
) -> bytes:
...
... # fmt: skip

Check warning on line 376 in atlassian/rest_client.py

View check run for this annotation

Codecov / codecov/patch

atlassian/rest_client.py#L376

Added line #L376 was not covered by tests

# advanced mode True
@overload
Expand All @@ -390,7 +390,7 @@ def get(
*,
advanced_mode: Literal[True],
) -> Response:
...
... # fmt: skip

Check warning on line 393 in atlassian/rest_client.py

View check run for this annotation

Codecov / codecov/patch

atlassian/rest_client.py#L393

Added line #L393 was not covered by tests

# both False
@overload
Expand All @@ -406,7 +406,7 @@ def get(
absolute: bool = ...,
advanced_mode: Literal[False] = ...,
) -> T_resp_json:
...
... # fmt: skip

Check warning on line 409 in atlassian/rest_client.py

View check run for this annotation

Codecov / codecov/patch

atlassian/rest_client.py#L409

Added line #L409 was not covered by tests

# basic overall case
@overload
Expand All @@ -422,7 +422,7 @@ def get(
absolute: bool = ...,
advanced_mode: bool = ...,
) -> T_resp_get:
...
... # fmt: skip

Check warning on line 425 in atlassian/rest_client.py

View check run for this annotation

Codecov / codecov/patch

atlassian/rest_client.py#L425

Added line #L425 was not covered by tests

def get(
self,
Expand Down Expand Up @@ -488,7 +488,7 @@ def post(
absolute: bool = ...,
advanced_mode: Literal[False] = ...,
) -> T_resp_json:
...
... # fmt: skip

Check warning on line 491 in atlassian/rest_client.py

View check run for this annotation

Codecov / codecov/patch

atlassian/rest_client.py#L491

Added line #L491 was not covered by tests

@overload
def post(
Expand All @@ -504,7 +504,7 @@ def post(
*,
advanced_mode: Literal[False] = ...,
) -> T_resp_json:
...
... # fmt: skip

Check warning on line 507 in atlassian/rest_client.py

View check run for this annotation

Codecov / codecov/patch

atlassian/rest_client.py#L507

Added line #L507 was not covered by tests

@overload
def post(
Expand All @@ -519,7 +519,7 @@ def post(
absolute: bool = ...,
advanced_mode: Literal[False] = ...,
) -> T_resp_json:
...
... # fmt: skip

Check warning on line 522 in atlassian/rest_client.py

View check run for this annotation

Codecov / codecov/patch

atlassian/rest_client.py#L522

Added line #L522 was not covered by tests

# advanced True
@overload
Expand All @@ -536,7 +536,7 @@ def post(
*,
advanced_mode: Literal[True],
) -> Response:
...
... # fmt: skip

Check warning on line 539 in atlassian/rest_client.py

View check run for this annotation

Codecov / codecov/patch

atlassian/rest_client.py#L539

Added line #L539 was not covered by tests

# basic overall case
@overload
Expand All @@ -552,7 +552,7 @@ def post(
absolute: bool = ...,
advanced_mode: bool = ...,
) -> Union[Response, dict, None]:
...
... # fmt: skip

Check warning on line 555 in atlassian/rest_client.py

View check run for this annotation

Codecov / codecov/patch

atlassian/rest_client.py#L555

Added line #L555 was not covered by tests

def post(
self,
Expand Down Expand Up @@ -608,7 +608,7 @@ def put(
*,
advanced_mode: Literal[False],
) -> T_resp_json:
...
... # fmt: skip

Check warning on line 611 in atlassian/rest_client.py

View check run for this annotation

Codecov / codecov/patch

atlassian/rest_client.py#L611

Added line #L611 was not covered by tests

@overload
def put(
Expand All @@ -622,7 +622,7 @@ def put(
absolute: bool = ...,
advanced_mode: Literal[False] = ...,
) -> T_resp_json:
...
... # fmt: skip

Check warning on line 625 in atlassian/rest_client.py

View check run for this annotation

Codecov / codecov/patch

atlassian/rest_client.py#L625

Added line #L625 was not covered by tests

# advanced True
@overload
Expand All @@ -638,7 +638,7 @@ def put(
*,
advanced_mode: Literal[True],
) -> Response:
...
... # fmt: skip

Check warning on line 641 in atlassian/rest_client.py

View check run for this annotation

Codecov / codecov/patch

atlassian/rest_client.py#L641

Added line #L641 was not covered by tests

# basic overall case
@overload
Expand All @@ -653,7 +653,7 @@ def put(
absolute: bool = ...,
advanced_mode: bool = ...,
) -> Union[Response, dict, None]:
...
... # fmt: skip

Check warning on line 656 in atlassian/rest_client.py

View check run for this annotation

Codecov / codecov/patch

atlassian/rest_client.py#L656

Added line #L656 was not covered by tests

def put(
self,
Expand Down Expand Up @@ -747,7 +747,7 @@ def delete(
*,
advanced_mode: Literal[False],
) -> T_resp_json:
...
... # fmt: skip

Check warning on line 750 in atlassian/rest_client.py

View check run for this annotation

Codecov / codecov/patch

atlassian/rest_client.py#L750

Added line #L750 was not covered by tests

@overload
def delete(
Expand All @@ -760,7 +760,7 @@ def delete(
absolute: bool = ...,
advanced_mode: Literal[False] = ...,
) -> T_resp_json:
...
... # fmt: skip

Check warning on line 763 in atlassian/rest_client.py

View check run for this annotation

Codecov / codecov/patch

atlassian/rest_client.py#L763

Added line #L763 was not covered by tests

# advanced True
@overload
Expand All @@ -775,7 +775,7 @@ def delete(
*,
advanced_mode: Literal[True],
) -> Response:
...
... # fmt: skip

Check warning on line 778 in atlassian/rest_client.py

View check run for this annotation

Codecov / codecov/patch

atlassian/rest_client.py#L778

Added line #L778 was not covered by tests

# basic overall case
@overload
Expand All @@ -789,7 +789,7 @@ def delete(
absolute: bool = ...,
advanced_mode: bool = ...,
) -> T_resp:
...
... # fmt: skip

Check warning on line 792 in atlassian/rest_client.py

View check run for this annotation

Codecov / codecov/patch

atlassian/rest_client.py#L792

Added line #L792 was not covered by tests

def delete(
self,
Expand Down

0 comments on commit 50dd19f

Please sign in to comment.