From f8fc3098558fc57830eac4d8cb1fc50cf8645515 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Thu, 28 Dec 2023 10:42:06 -0600 Subject: [PATCH] Exclude failing sphinx file in ecosytem checks (#9294) Failing due to > error: Failed to read tests/roots/test-pycode/cp_1251_coded.py: stream did not contain valid UTF-8 Unclear to me if ignoring is the correct response. --- python/ruff-ecosystem/ruff_ecosystem/defaults.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/python/ruff-ecosystem/ruff_ecosystem/defaults.py b/python/ruff-ecosystem/ruff_ecosystem/defaults.py index 16db062715356..ad75701730d03 100644 --- a/python/ruff-ecosystem/ruff_ecosystem/defaults.py +++ b/python/ruff-ecosystem/ruff_ecosystem/defaults.py @@ -62,7 +62,17 @@ Project( repo=Repository(owner="scikit-build", name="scikit-build-core", ref="main") ), - Project(repo=Repository(owner="sphinx-doc", name="sphinx", ref="master")), + Project( + repo=Repository( + owner="sphinx-doc", + name="sphinx", + ref="master", + ), + format_options=FormatOptions( + # Does not contain valid UTF-8 + exclude="tests/roots/test-pycode/cp_1251_coded.py" + ), + ), Project(repo=Repository(owner="spruceid", name="siwe-py", ref="main")), Project(repo=Repository(owner="tiangolo", name="fastapi", ref="master")), Project(repo=Repository(owner="yandex", name="ch-backup", ref="main")),