summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Turner <9087854+aa-turner@users.noreply.github.com>2023-03-14 23:39:05 +0000
committerAdam Turner <9087854+aa-turner@users.noreply.github.com>2023-03-15 14:35:03 +0000
commitc2529e0a5e3226f37013109619cedba1cc52fe22 (patch)
treed3c4d4d84813ab1c1943c694d57972aff3ecc864
parent780fc6b15d559e230ae74a87696e12bc2cf44ba2 (diff)
downloadsphinx-git-c2529e0a5e3226f37013109619cedba1cc52fe22.tar.gz
Ignore ``PLC1901`` in Ruff
-rw-r--r--pyproject.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 15ea09c71..dc935bc4f 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -213,6 +213,7 @@ ignore = [
# flake8-pie
"PIE790", # unnecessary 'pass' statement
# pylint
+ "PLC1901", # simplify truthy/falsey string comparisons
"PLR2004", # avoid magic values
"PLR0911", # too many return statements
"PLR0912", # too many branches