Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

[WIP] Remove ruff ignore E501#5539

Draft
rwgk wants to merge1 commit intopybind:master
base:master
Choose a base branch
Loading
fromrwgk:remove_ruff_ignore_E501

Conversation

rwgk
Copy link
Collaborator

Description

With PR#4912 we removed black:

-# Black, the code formatter, natively supports pre-commit-- repo: https://github.com/psf/black-pre-commit-mirror-  rev: "23.10.1" # Keep in sync with blacken-docs-  hooks:-  - id: black

So this isn't true anymore:

"E501",# Line too long (Black is enough)

I tried to remove that line, but it doesn't make a difference, ruff doesn't produce theE501 error. See dummy test case, which doesn't trigger any ruff errors.

It would be nice to see that error, even if we need to fix manually.

@henryiii: Do you happen to know what suppresses theE501?

Suggested changelog entry:

@timohl
Copy link
Contributor

As far as I can see, Ruff does not includeE501 by default, so it has to be added toextend-select.
Seedocs.astral.sh/ruff/configuration for the default settings:
Only"E4", "E7", "E9" are inselect but notE5.

rwgk reacted with thumbs up emoji

@henryiii
Copy link
Collaborator

Yes, this got missed when we moved fromselect toextend-select.

rwgk reacted with thumbs up emoji

@rwgk
Copy link
CollaboratorAuthor

Thanks for the feedback! — I'll get back to this after#5542 is merged.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@rwgk@timohl@henryiii

[8]ページ先頭

©2009-2025 Movatter.jp