-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
infra: onboard on to ruff for notebook linting (#634)
- Loading branch information
Showing
131 changed files
with
13,635 additions
and
13,076 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# This workflow will run the linter checks from a new hatch environment. | ||
|
||
|
||
name: Check code format | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
- feature/** | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
check-code-format: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
- name: Set up Python | ||
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0 | ||
with: | ||
python-version: '3.9' # Minimum supported Python version | ||
- name: Install dependencies | ||
run: | | ||
pip install hatch | ||
- name: Run code format checks | ||
run: | | ||
hatch run lint:style |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.