ruff: enable B warnings (mainly suppressed exceptions and unused variables)

This commit is contained in:
Dima Gerasimov 2024-08-28 01:13:18 +01:00 committed by karlicoss
parent d0df8e8f2d
commit 72cc8ff3ac
30 changed files with 83 additions and 67 deletions

View file

@ -5,11 +5,13 @@ from more_itertools import ilen
def test_gdpr() -> None:
import my.github.gdpr as gdpr
assert ilen(gdpr.events()) > 100
def test() -> None:
from my.coding.github import get_events
from my.github.all import get_events
events = get_events()
assert ilen(events) > 100
for e in events: