ruff: enable UP ruleset for detecting python deprecations

This commit is contained in:
Dima Gerasimov 2024-08-27 23:12:57 +01:00
parent 2849870773
commit 7eef1f9fc2
9 changed files with 27 additions and 22 deletions

View file

@ -91,8 +91,7 @@ def test_denylist(tmp_path: Path) -> None:
assert "59.40.113.87" not in [i.addr for i in filtered]
with open(tf, "r") as f:
data_json = json.loads(f.read())
data_json = json.loads(tf.read_text())
assert data_json == [
{