Skip to content

Commit 85be391

Browse files
chores: add ruff ignore rule UP015 redundant open mode. For this project, explicit over implicit is preferred.
1 parent 8fe8203 commit 85be391

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,9 @@ ignore = [
177177
"E303", # Name: too-many-blank-lines
178178
"E501", # Name: line too long
179179
"E731", # Name: lambda-assignment
180-
"E741" # allow I, O, l as variable names -> I is the identity matrix
180+
"E741", # allow I, O, l as variable names -> I is the identity matrix
181+
# pyupgrade (UP)
182+
"UP015" # Name: redundant-open-modes
181183
]
182184
select = [
183185
"B", # flake8-bugbear

0 commit comments

Comments
 (0)