summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Turner <9087854+aa-turner@users.noreply.github.com>2023-01-23 08:04:04 +0000
committerAdam Turner <9087854+aa-turner@users.noreply.github.com>2023-01-23 08:07:31 +0000
commitbf88cd44d0cf321774158682c637c1d0856552ef (patch)
treeb13c10187a570aa66c2dd091f9a7d0a417d8aad7
parenta6b34dd13d1970a137ec3048617c7137825e030e (diff)
downloadsphinx-git-bf88cd44d0cf321774158682c637c1d0856552ef.tar.gz
Ignore ``SIM115`` in Ruff
-rw-r--r--pyproject.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 809791f0c..cfd29fe39 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -172,6 +172,7 @@ ignore = [
"SIM103", # return condition directly
"SIM105", # use contextlib.suppress
"SIM108", # use ternary operator
+ "SIM115", # use context handler for opening files
"SIM117", # use single 'with' statement
# pyupgrade
"UP031", # replace with format specifiers