Enable more SIM ruff rules (#113015)

* SIM101 SIM103

* SIM107 SIM109

* SIM110

* SIM112 SIM113

* SIM115

* SIM116

* Fix

* Fix

* Fix
This commit is contained in:
Joost Lekkerkerker 2024-03-11 04:20:37 +01:00 committed by GitHub
parent e96ef4613c
commit cddce0ce0d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 41 additions and 70 deletions

View file

@ -72,10 +72,7 @@ def _same_lists(list_a, list_b):
if len(list_a) != len(list_b):
return False
for item in list_a:
if item not in list_b:
return False
return True
return all(item in list_b for item in list_a)
@pytest.fixture