Skip to content

Commit f78d359

Browse files
committed
chore: add linter on gyp back
1 parent 2852eae commit f78d359

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/tests.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,19 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v4
2121
- run: pip install --user ruff
22-
# Excluding `/gyp` directory as it is been checked in https://github.com/nodejs/gyp-next/ already
22+
# `/gyp` directory is run in the next job.
2323
- run: ruff check --output-format=github --extend-exclude=gyp --select="E,F,PLC,PLE,UP,W,YTT" --ignore="E721,PLC1901,S101,UP031" --target-version=py38 .
2424

25+
lint-gyp:
26+
name: Lint Gyp
27+
runs-on: ubuntu-latest
28+
steps:
29+
- uses: actions/checkout@v4
30+
- run: pip install --user ruff
31+
- name: Lint with ruff # See gyp/pyproject.toml for settings
32+
run: ruff check --output-format=github .
33+
working-directory: ./gyp
34+
2535
lint-js:
2636
name: Lint JS
2737
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)