Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
Run isort over GitHub scripts
Browse files Browse the repository at this point in the history
Because we’ve moved all of our code to the project root and are now
running checks there, we’re catching issues in non-application code,
like the import order of our GitHub scripts. I see no harm in applying
the same formatting requirements to our tools that we apply to the
application, so I went ahead and sorted the imports.
  • Loading branch information
esheehan-gsl committed May 8, 2023
1 parent 6381f3e commit c192a08
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/extract_git_ref.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env python3

from typing import Optional
import os
import re
from typing import Optional


def get_branch(gh_event: str, gh_ref: str, gh_head_ref: Optional[str]) -> str:
Expand Down
1 change: 0 additions & 1 deletion .github/scripts/extract_git_ref_test.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import pytest

from extract_git_ref import get_branch


Expand Down

0 comments on commit c192a08

Please sign in to comment.