Skip to content

Conversation

@DimitriPapadopoulos
Copy link
Contributor

Subject: Apply refurb/ruff rule FURB115

Feature or Bugfix

  • Refactoring

Purpose

Fix this issue:

[FURB115]: Replace `x == []` with `not x`

Detail

  • Fix only a single occurrence of FURB115 that makes total sense, for now.

Relates

Fix only a single occurrence that makes total sense, for now:
[FURB115]: Replace `x == []` with `not x`
@AA-Turner
Copy link
Member

FURB115 isn't yet implemented in Ruff.

@AA-Turner AA-Turner merged commit 97b7e63 into sphinx-doc:master Jan 4, 2024
@DimitriPapadopoulos DimitriPapadopoulos deleted the FURB115 branch January 4, 2024 06:44
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 4, 2024
@AA-Turner AA-Turner added this to the 7.3.0 milestone Jul 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants