Skip to content

Commit

Permalink
Disable broken ruff rule, at least temporarily
Browse files Browse the repository at this point in the history
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

See:
astral-sh/ruff#3503
  • Loading branch information
DimitriPapadopoulos committed Mar 14, 2023
1 parent 2514cdd commit d7544f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ addopts = "--cov=codespell_lib -rs --cov-report= --tb=short --junit-xml=junit-re
extend-ignore = [
"ANN101",
"B904",
"PLC1901",
"PLW2901",
]
line-length = 88
Expand Down

0 comments on commit d7544f2

Please sign in to comment.