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 import QtCore, QtGui, QtWidgets
|
||||||
from PyQt5.QtWidgets import QAction, QShortcut
|
from PyQt5.QtWidgets import QAction, QShortcut
|
||||||
|
|
||||||
import ostools
|
|
||||||
from dataobjs import PesterHistory
|
from dataobjs import PesterHistory
|
||||||
from parsetools import convertTags, lexMessage, mecmd, colorBegin, colorEnd, smiledict
|
from parsetools import convertTags, lexMessage, mecmd, colorBegin, colorEnd, smiledict
|
||||||
import parsetools
|
import parsetools
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import logging
|
import logging
|
||||||
import ostools
|
|
||||||
|
|
||||||
PchumLog = logging.getLogger("pchumLogger")
|
PchumLog = logging.getLogger("pchumLogger")
|
||||||
try:
|
try:
|
||||||
|
|
1
irc.py
1
irc.py
|
@ -10,7 +10,6 @@ except ImportError:
|
||||||
print("PyQt5 fallback (irc.py)")
|
print("PyQt5 fallback (irc.py)")
|
||||||
from PyQt5 import QtCore, QtGui
|
from PyQt5 import QtCore, QtGui
|
||||||
|
|
||||||
import ostools
|
|
||||||
from mood import Mood
|
from mood import Mood
|
||||||
from dataobjs import PesterProfile
|
from dataobjs import PesterProfile
|
||||||
from generic import PesterList
|
from generic import PesterList
|
||||||
|
|
1
memos.py
1
memos.py
|
@ -11,7 +11,6 @@ except ImportError:
|
||||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||||
from PyQt5.QtWidgets import QAction
|
from PyQt5.QtWidgets import QAction
|
||||||
|
|
||||||
import ostools
|
|
||||||
import parsetools
|
import parsetools
|
||||||
from dataobjs import PesterProfile, PesterHistory
|
from dataobjs import PesterProfile, PesterHistory
|
||||||
from generic import PesterIcon, RightClickList, mysteryTime
|
from generic import PesterIcon, RightClickList, mysteryTime
|
||||||
|
|
4
mood.py
4
mood.py
|
@ -1,8 +1,8 @@
|
||||||
try:
|
try:
|
||||||
from PyQt6 import QtCore, QtGui, QtWidgets
|
from PyQt6 import QtCore, QtWidgets
|
||||||
except ImportError:
|
except ImportError:
|
||||||
print("PyQt5 fallback (mood.py)")
|
print("PyQt5 fallback (mood.py)")
|
||||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
from PyQt5 import QtCore, QtWidgets
|
||||||
|
|
||||||
from generic import PesterIcon
|
from generic import PesterIcon
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,6 @@ except ImportError:
|
||||||
from PyQt5 import QtGui, QtWidgets
|
from PyQt5 import QtGui, QtWidgets
|
||||||
|
|
||||||
import dataobjs
|
import dataobjs
|
||||||
import ostools
|
|
||||||
|
|
||||||
# karxi: My own contribution to this - a proper lexer.
|
# karxi: My own contribution to this - a proper lexer.
|
||||||
import pnc.lexercon as lexercon
|
import pnc.lexercon as lexercon
|
||||||
|
|
|
@ -60,11 +60,11 @@ from toast import PesterToastMachine, PesterToast
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from PyQt6 import QtCore, QtGui, QtWidgets
|
from PyQt6 import QtCore, QtGui, QtWidgets
|
||||||
from PyQt6.QtGui import QShortcut, QAction, QActionGroup
|
from PyQt6.QtGui import QAction, QActionGroup
|
||||||
except ImportError:
|
except ImportError:
|
||||||
print("PyQt5 fallback (pesterchum.py)")
|
print("PyQt5 fallback (pesterchum.py)")
|
||||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||||
from PyQt5.QtWidgets import QAction, QShortcut, QActionGroup
|
from PyQt5.QtWidgets import QAction, QActionGroup
|
||||||
|
|
||||||
# Data directory
|
# Data directory
|
||||||
ostools.validateDataDir()
|
ostools.validateDataDir()
|
||||||
|
|
|
@ -7,7 +7,6 @@ except ImportError:
|
||||||
print("PyQt5 fallback (pyquirks.py)")
|
print("PyQt5 fallback (pyquirks.py)")
|
||||||
from PyQt5 import QtWidgets
|
from PyQt5 import QtWidgets
|
||||||
|
|
||||||
import ostools
|
|
||||||
from quirks import ScriptQuirks
|
from quirks import ScriptQuirks
|
||||||
|
|
||||||
PchumLog = logging.getLogger("pchumLogger")
|
PchumLog = logging.getLogger("pchumLogger")
|
||||||
|
|
|
@ -6,7 +6,6 @@ except ImportError:
|
||||||
print("PyQt5 fallback (randomer.py)")
|
print("PyQt5 fallback (randomer.py)")
|
||||||
from PyQt5 import QtCore, QtWidgets
|
from PyQt5 import QtCore, QtWidgets
|
||||||
|
|
||||||
import ostools
|
|
||||||
|
|
||||||
PchumLog = logging.getLogger("pchumLogger")
|
PchumLog = logging.getLogger("pchumLogger")
|
||||||
|
|
||||||
|
|
1
setup.py
1
setup.py
|
@ -2,7 +2,6 @@
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from cx_Freeze import setup, Executable
|
from cx_Freeze import setup, Executable
|
||||||
import pygame
|
|
||||||
|
|
||||||
from version import buildVersion
|
from version import buildVersion
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue