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

[UP031] When encountering "%s" % var offer unsafe fix #11019

Merged
merged 12 commits into from
Apr 22, 2024
Merged

Commits on Apr 18, 2024

  1. [ruff UP031, issue #10187] change docs to clarify the fix-offered and…

    … that the "problem" is only that the fix is not offered in some cases; general readability
    plredmond committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    d8c2a2a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3a74c88 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0826eac View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b0791cf View commit details
    Browse the repository at this point in the history
  5. [ruff UP031, issue #10187] move "false negatives" from UP031_1.py to …

    …UP031_0.py (they are now true positives)
    plredmond committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    d8f3f86 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2024

  1. Configuration menu
    Copy the full SHA
    3f73ca8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    27dbae9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e86dd7d View commit details
    Browse the repository at this point in the history
  4. [ruff UP031, issue #10187] change docs "known problems" to "fix safet…

    …y" and change the prose to follow
    plredmond committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    210613d View commit details
    Browse the repository at this point in the history
  5. [ruff UP031, issue #10187] remove test examples meant to exercise the…

    … variable inference/deref code
    plredmond committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    8d74c0f View commit details
    Browse the repository at this point in the history
  6. [ruff UP031, issue #10187] offer the fix regardless of whether the am…

    …biguous variable is a tuple or not
    plredmond committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    08ec1d3 View commit details
    Browse the repository at this point in the history
  7. [ruff UP031, issue #10187] cargo insta review - small change from the…

    … merge-base, despite apparent churn in this commit
    plredmond committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    8c52f88 View commit details
    Browse the repository at this point in the history