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
|
@ -6,7 +6,7 @@ import inspect
|
|||
import os
|
||||
import re
|
||||
from types import ModuleType
|
||||
from typing import Iterator, List, Optional, TypeVar
|
||||
from typing import Iterator, List, Optional, Sequence, TypeVar
|
||||
|
||||
from . import warnings
|
||||
|
||||
|
@ -71,7 +71,7 @@ def pre_pip_dal_handler(
|
|||
name: str,
|
||||
e: ModuleNotFoundError,
|
||||
cfg,
|
||||
requires=[],
|
||||
requires: Sequence[str] = (),
|
||||
) -> ModuleType:
|
||||
'''
|
||||
https://github.com/karlicoss/HPI/issues/79
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue