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

Upgrade configuration for Ruff v0.2.0 #28795

Merged
merged 4 commits into from
Feb 2, 2024
Merged

Upgrade configuration for Ruff v0.2.0 #28795

merged 4 commits into from
Feb 2, 2024

Commits on Feb 2, 2024

  1. ruff: Fix RUF019 Unnecessary key check before dictionary access.

    Signed-off-by: Anders Kaseorg <anders@zulip.com>
    andersk committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    397a8ab View commit details
    Browse the repository at this point in the history
  2. ruff: Fix SIM910 Use d.get(…) instead of d.get(…, None).

    Signed-off-by: Anders Kaseorg <anders@zulip.com>
    andersk committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    5bdb021 View commit details
    Browse the repository at this point in the history
  3. ruff: Fix SIM113 Use enumerate() for index variable in for loop.

    Signed-off-by: Anders Kaseorg <anders@zulip.com>
    andersk committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    eeb5233 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ac5ceeb View commit details
    Browse the repository at this point in the history