Skip to content

flake8 issues #4975

@wyli

Description

@wyli

Describe the bug

flake8
5.0.4 (flake8-bugbear: 22.8.23, flake8-comprehensions: 3.10.0,
flake8-executable: 2.1.1, mccabe: 0.7.0, pep8-naming: 0.13.2, pycodestyle:
2.9.1, pyflakes: 2.5.0) CPython 3.8.13 on Linux
/home/runner/work/MONAI/MONAI/monai/apps/detection/utils/hard_negative_sampler.py:41:1: B024 HardNegativeSamplerBase is an abstract base class, but it has no abstract methods. Remember to use @abstractmethod, @abstractclassmethod and/or @abstractproperty decorators.
/home/runner/work/MONAI/MONAI/monai/apps/detection/utils/ATSS_matcher.py:90:1: B024 Matcher is an abstract base class, but it has no abstract methods. Remember to use @abstractmethod, @abstractclassmethod and/or @abstractproperty decorators.
/home/runner/work/MONAI/MONAI/monai/transforms/transform.py:134:1: B024 Randomizable is an abstract base class, but it has no abstract methods. Remember to use @abstractmethod, @abstractclassmethod and/or @abstractproperty decorators.
3     B024 Matcher is an abstract base class, but it has no abstract methods. Remember to use @abstractmethod, @abstractclassmethod and/or @abstractproperty decorators.
3
Check failed!

from these releases https://github.com/PyCQA/flake8-bugbear/releases

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions