ruff: enable UP ruleset for detecting python deprecations
This commit is contained in:
parent
2849870773
commit
7eef1f9fc2
9 changed files with 27 additions and 22 deletions
|
@ -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 == [
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue