forked from codespell-project/codespell
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PLC1901 `val != ""` can be simplified to `not val` as an empty string is falsey PLC1901 `stderr == ""` can be simplified to `stderr` as an empty string is falsey PLC1901 `stdout == ""` can be simplified to `stdout` as an empty string is falsey The rule is broken and suggests incorrect fixes, see: astral-sh/ruff#3503 However, while the suggested fixes are incorrect, the intent is correct.
- Loading branch information
1 parent
3ac0166
commit 87e4d69
Showing
3 changed files
with
5 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters