ash16 / TYTS

0 stars 1 forks source link

Too Few Public Methods in Classes #9

Open KlarizsaPadilla opened 5 years ago

KlarizsaPadilla commented 5 years ago

Classes aren't meant to just store data, as you're basically treating the class as a dictionary. Classes should have at least a few methods to operate on the data that they hold.

The following places of your code contain this issue:

TYTS/testBuddingWidget.py:8:0: R0903: Too few public methods (1/2) (too-few-public-methods) TYTS/testEventController.py:6:0: R0903: Too few public methods (0/2) (too-few-public-methods) TYTS/main.py:9:0: R0903: Too few public methods (0/2) (too-few-public-methods) TYTS/test_pyqt.py:83:0: R0903: Too few public methods (1/2) (too-few-public-methods)