More aggressive autoflake
This commit is contained in:
parent
30569d4a95
commit
3ae70e4fe0
10 changed files with 4 additions and 12 deletions
1
convo.py
1
convo.py
|
@ -11,7 +11,6 @@ except ImportError:
|
|||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
from PyQt5.QtWidgets import QAction, QShortcut
|
||||
|
||||
import ostools
|
||||
from dataobjs import PesterHistory
|
||||
from parsetools import convertTags, lexMessage, mecmd, colorBegin, colorEnd, smiledict
|
||||
import parsetools
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import logging
|
||||
import ostools
|
||||
|
||||
PchumLog = logging.getLogger("pchumLogger")
|
||||
try:
|
||||
|
|
1
irc.py
1
irc.py
|
@ -10,7 +10,6 @@ except ImportError:
|
|||
print("PyQt5 fallback (irc.py)")
|
||||
from PyQt5 import QtCore, QtGui
|
||||
|
||||
import ostools
|
||||
from mood import Mood
|
||||
from dataobjs import PesterProfile
|
||||
from generic import PesterList
|
||||
|
|
1
memos.py
1
memos.py
|
@ -11,7 +11,6 @@ except ImportError:
|
|||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
from PyQt5.QtWidgets import QAction
|
||||
|
||||
import ostools
|
||||
import parsetools
|
||||
from dataobjs import PesterProfile, PesterHistory
|
||||
from generic import PesterIcon, RightClickList, mysteryTime
|
||||
|
|
4
mood.py
4
mood.py
|
@ -1,8 +1,8 @@
|
|||
try:
|
||||
from PyQt6 import QtCore, QtGui, QtWidgets
|
||||
from PyQt6 import QtCore, QtWidgets
|
||||
except ImportError:
|
||||
print("PyQt5 fallback (mood.py)")
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
from PyQt5 import QtCore, QtWidgets
|
||||
|
||||
from generic import PesterIcon
|
||||
|
||||
|
|
|
@ -11,7 +11,6 @@ except ImportError:
|
|||
from PyQt5 import QtGui, QtWidgets
|
||||
|
||||
import dataobjs
|
||||
import ostools
|
||||
|
||||
# karxi: My own contribution to this - a proper lexer.
|
||||
import pnc.lexercon as lexercon
|
||||
|
|
|
@ -60,11 +60,11 @@ from toast import PesterToastMachine, PesterToast
|
|||
|
||||
try:
|
||||
from PyQt6 import QtCore, QtGui, QtWidgets
|
||||
from PyQt6.QtGui import QShortcut, QAction, QActionGroup
|
||||
from PyQt6.QtGui import QAction, QActionGroup
|
||||
except ImportError:
|
||||
print("PyQt5 fallback (pesterchum.py)")
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
from PyQt5.QtWidgets import QAction, QShortcut, QActionGroup
|
||||
from PyQt5.QtWidgets import QAction, QActionGroup
|
||||
|
||||
# Data directory
|
||||
ostools.validateDataDir()
|
||||
|
|
|
@ -7,7 +7,6 @@ except ImportError:
|
|||
print("PyQt5 fallback (pyquirks.py)")
|
||||
from PyQt5 import QtWidgets
|
||||
|
||||
import ostools
|
||||
from quirks import ScriptQuirks
|
||||
|
||||
PchumLog = logging.getLogger("pchumLogger")
|
||||
|
|
|
@ -6,7 +6,6 @@ except ImportError:
|
|||
print("PyQt5 fallback (randomer.py)")
|
||||
from PyQt5 import QtCore, QtWidgets
|
||||
|
||||
import ostools
|
||||
|
||||
PchumLog = logging.getLogger("pchumLogger")
|
||||
|
||||
|
|
1
setup.py
1
setup.py
|
@ -2,7 +2,6 @@
|
|||
import sys
|
||||
|
||||
from cx_Freeze import setup, Executable
|
||||
import pygame
|
||||
|
||||
from version import buildVersion
|
||||
|
||||
|
|
Loading…
Reference in a new issue