Skip to content

Commit 4a74fbe

Browse files
authored
fix(ci): do not ruff format gyp example code in markdown (#3357)
1 parent eae161f commit 4a74fbe

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ jobs:
2222
- uses: astral-sh/ruff-action@v4.1.0
2323
with:
2424
args: "check --select=E,F,PLC,PLE,UP,W,YTT --ignore=E721,PLC0206,PLC0415,PLC1901,S101,UP031 --target-version=py39"
25-
- run: ruff format --check --diff
25+
# Do not ruff format gyp example code in markdown files.
26+
- run: ruff format --check --diff --config="extend-exclude=['README.md', 'docs/Linking-to-OpenSSL.md']"
2627

2728
lint-js:
2829
name: Lint JS

0 commit comments

Comments
 (0)