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

Apply ruff rule RUF100 #1401

Merged
merged 1 commit into from
May 12, 2024
Merged

Apply ruff rule RUF100 #1401

merged 1 commit into from
May 12, 2024

Conversation

DimitriPapadopoulos
Copy link
Contributor

@DimitriPapadopoulos DimitriPapadopoulos commented May 12, 2024

  • I have added a news fragment under changelog.d/ (if the patch affects the end users)

Summary of changes

Apply ruff rule RUF100.

Note that T484 is a flake8-mypy warning, not part of ruff rules.

Fixes #1400.

Test plan

Tested by running

$ ruff check --extend-select RUF100
All checks passed!
$ 

@huxuan huxuan merged commit 4b15fe2 into pypa:main May 12, 2024
14 checks passed
@DimitriPapadopoulos DimitriPapadopoulos deleted the RUF100 branch May 12, 2024 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ruff rule RUF100
3 participants