ruff: enable FBT rules to detect boolean arguments use without kwargs

This commit is contained in:
Dima Gerasimov 2024-08-27 23:37:17 +01:00
parent 7eef1f9fc2
commit dc0726c347
19 changed files with 50 additions and 39 deletions

View file

@ -58,7 +58,7 @@ def _parse_one(p: Path) -> Iterator[Res[Competition]]:
h.pop_if_primitive('version', 'id')
h = h.zoom('result')
h.check('success', True)
h.check('success', expected=True)
h.check('status', 200)
h.pop_if_primitive('metadata')