Skip to content
Snippets Groups Projects
Verified Commit c19cd2f4 authored by Yoann Schneider's avatar Yoann Schneider :tennis:
Browse files

Introduce UP015

parent 5f702c9a
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@ class TestLoadExport(FixtureTestCase):
"documents.classification": ["ml_class"],
}
with open(path, "r") as file:
with open(path) as file:
data = json.loads(file.read())
results = []
......
......@@ -31,6 +31,8 @@ select = [
"UP012",
# convert-named-tuple-functional-to-class
"UP014",
# redundant-open-modes
"UP015",
]
ignore = ["E501", "RET502", "RET503"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment