Skip to content

Commit 40fd52d

Browse files
authored
Exclude broken symlinks from meson-python ecosystem check (#17993)
Summary -- This should resolve the formatter ecosystem errors we've been seeing lately. mesonbuild/meson-python#728 added the links, which I think are intentionally broken for testing purposes. Test Plan -- Ecosystem check on this PR
1 parent fd1eb3d commit 40fd52d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

python/ruff-ecosystem/ruff_ecosystem/defaults.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
from ruff_ecosystem.projects import (
66
CheckOptions,
7+
FormatOptions,
78
Project,
89
Repository,
910
)
@@ -134,7 +135,12 @@
134135
Project(repo=Repository(owner="wntrblm", name="nox", ref="main")),
135136
Project(repo=Repository(owner="pytest-dev", name="pytest", ref="main")),
136137
Project(repo=Repository(owner="encode", name="httpx", ref="master")),
137-
Project(repo=Repository(owner="mesonbuild", name="meson-python", ref="main")),
138+
Project(
139+
repo=Repository(owner="mesonbuild", name="meson-python", ref="main"),
140+
format_options=FormatOptions(
141+
exclude="tests/packages/symlinks/baz.py,tests/packages/symlinks/qux.py"
142+
),
143+
),
138144
Project(repo=Repository(owner="pdm-project", name="pdm", ref="main")),
139145
Project(repo=Repository(owner="astropy", name="astropy", ref="main")),
140146
]

0 commit comments

Comments
 (0)