ruff
62e2c46f - Move `compare-to-empty-string` to nursery (#5264)

Comment changes are shownComment changes are hidden
Commit
2 years ago
Move `compare-to-empty-string` to nursery (#5264) ## Summary This rule has too many false positives. It has parity with the Pylint version, but the Pylint version is part of an [extension](https://pylint.readthedocs.io/en/stable/user_guide/messages/convention/compare-to-empty-string.html), and so requires explicit opt-in. I'm moving this rule to the nursery to require explicit opt-in, as with Pylint. Closes #4282.
Author
Parents
  • crates/ruff/src
    • File
      codes.rs
    • rules/pylint/rules
      • File
        compare_to_empty_string.rs
  • File
    ruff.schema.json