ruff: enable B warnings (mainly suppressed exceptions and unused variables)
This commit is contained in:
parent
d0df8e8f2d
commit
72cc8ff3ac
30 changed files with 83 additions and 67 deletions
|
@ -1,9 +1,12 @@
|
|||
import warnings
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
warnings.warn('my.coding.github is deprecated! Please use my.github.all instead!')
|
||||
from my.core import warnings
|
||||
|
||||
warnings.high('my.coding.github is deprecated! Please use my.github.all instead!')
|
||||
# todo why aren't DeprecationWarning shown by default??
|
||||
|
||||
from ..github.all import events, get_events
|
||||
if not TYPE_CHECKING:
|
||||
from ..github.all import events, get_events
|
||||
|
||||
# todo deprecate properly
|
||||
iter_events = events
|
||||
# todo deprecate properly
|
||||
iter_events = events
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue