python formatting+lints

This commit is contained in:
Damien Elmes 2020-05-08 17:29:09 +10:00
parent 1de8d4baaf
commit c02716ccd8
3 changed files with 4 additions and 2 deletions

View file

@ -737,7 +737,7 @@ where c.nid = n.id and c.id in %s group by nid"""
c.nid,
)
# and finally, update daily counts
n = 1 if c.queue in (3,4) else c.queue
n = 1 if c.queue in (3, 4) else c.queue
type = ("new", "lrn", "rev")[n]
self.sched._updateStats(c, type, -1)
self.sched.reps -= 1

View file

@ -17,11 +17,11 @@ import logging.handlers
# required by requests library
import queue
import socks
import typing
import uuid
import PyQt5.QtSvg
import socks
from anki.utils import isLin, isWin

View file

@ -50,3 +50,5 @@ ignore_missing_imports = True
ignore_missing_imports = True
[mypy-darkdetect]
ignore_missing_imports = True
[mypy-socks]
ignore_missing_imports = True