Skip to content

Commit

Permalink
format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SalmanAsh committed Jul 22, 2024
1 parent 9d02d95 commit 6605223
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions api/views/agreement_signature.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ def check_signed(self, _, **url_params: str):
# pylint: disable-next=line-too-long
url=f"https://api.github.com/repos/{settings.GH_ORG}/{settings.GH_REPO}/commits",
headers={"X-GitHub-Api-Version": "2022-11-28"},
params=t.cast(
DataDict, {"path": settings.GH_FILE, "per_page": 1}
),
params=t.cast(DataDict, {"path": settings.GH_FILE, "per_page": 1}),
timeout=10,
)
if not response.ok:
Expand Down
4 changes: 1 addition & 3 deletions api/views/contributor_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ def setUp(self):

def test_list(self):
"""Check list of all contributors."""
self.client.list(
models=list(Contributor.objects.all())
)
self.client.list(models=list(Contributor.objects.all()))

def test_retrieve(self):
"""Can retrieve a single contributor."""
Expand Down

0 comments on commit 6605223

Please sign in to comment.