night_mode/stylers.py
File stylers.py
has 632 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
from PyQt5.QtCore import Qt
from PyQt5 import QtWidgets
import aqt
from anki.stats import CollectionStats
Function _addButton
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _addButton(self, editor, icon, command, *args, **kwargs):
Function init
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def init(self, editor, mw, widget, parentWindow, addMode=False):