Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude failing sphinx file in ecosytem checks #9294

Merged
merged 1 commit into from
Dec 28, 2023
Merged

Conversation

zanieb
Copy link
Member

@zanieb zanieb commented Dec 27, 2023

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.

@zanieb zanieb added the ci Related to internal CI tooling label Dec 27, 2023
@zanieb zanieb force-pushed the zb/ecosystem-sphinx branch from ba51e3b to f213b28 Compare December 27, 2023 17:16
Copy link
Contributor

ruff-ecosystem results

Linter (stable)

ℹ️ ecosystem check encountered linter errors. (no lint changes; 1 project error)

pypa/setuptools (error)

ruff failed
  Cause: 'quote-style = preserve' is a preview only feature. Run with '--preview' to enable it.

Linter (preview)

✅ ecosystem check detected no linter changes.

Formatter (stable)

ℹ️ ecosystem check encountered format errors. (no format changes; 1 project error)

pypa/setuptools (error)

ruff failed
  Cause: 'quote-style = preserve' is a preview only feature. Run with '--preview' to enable it.

Formatter (preview)

✅ ecosystem check detected no format changes.

Copy link
Member

@MichaReiser MichaReiser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO: It's the right response to continue getting value from the ecosystem.

Whether it's worth reconsidering our standpoint on supporting Python's encoding headers is a separate question (that, interestingly, hasn't come up as a user-reported issue).

Code wise: Neat how flexible the ecosystem checks are :)

@zanieb zanieb merged commit f8fc309 into main Dec 28, 2023
17 checks passed
@zanieb zanieb deleted the zb/ecosystem-sphinx branch December 28, 2023 16:42
zanieb added a commit that referenced this pull request Dec 28, 2023
Adds the ability to override `ruff.toml` or `pyproject.toml` settings
per-project during ecosystem checks.

Exploring this as a fix for the `setuptools` project error. 

Also useful for including Jupyter Notebooks in the ecosystem checks, see
#9293

Note the remaining `sphinx` project error is resolved in #9294
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Related to internal CI tooling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants