We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 307fbfb commit bc66e8bCopy full SHA for bc66e8b
1 file changed
.github/workflows/lint.yml .github/workflows/style.yml.github/workflows/lint.yml renamed to .github/workflows/style.yml
@@ -1,10 +1,10 @@
1
-name: lint
+name: style
2
3
on:
4
pull_request: # any pull request
5
6
jobs:
7
- lint:
+ style:
8
runs-on: ubuntu-latest
9
steps:
10
- name: Check out repository
@@ -20,7 +20,11 @@ jobs:
20
files: |
21
**.py
22
**.ipynb
23
- - name: Check style
+ - name: Run linter
24
if: steps.changed-files.outputs.any_changed == 'true'
25
run: |
26
uv tool run ruff check ${{ steps.changed-files.outputs.all_changed_files }}
27
+ - name: Run formatter
28
+ if: steps.changed-files.outputs.any_changed == 'true'
29
+ run: |
30
+ uv tool run ruff format --check ${{ steps.changed-files.outputs.all_changed_files }}
0 commit comments