More aggressive autoflake

This commit is contained in:
Dpeta 2023-01-14 23:10:19 +01:00
parent 30569d4a95
commit 3ae70e4fe0
No known key found for this signature in database
GPG key ID: 51227517CEA0030C
10 changed files with 4 additions and 12 deletions

View file

@ -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

View file

@ -1,5 +1,4 @@
import logging
import ostools
PchumLog = logging.getLogger("pchumLogger")
try:

1
irc.py
View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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()

View file

@ -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")

View file

@ -6,7 +6,6 @@ except ImportError:
print("PyQt5 fallback (randomer.py)")
from PyQt5 import QtCore, QtWidgets
import ostools
PchumLog = logging.getLogger("pchumLogger")

View file

@ -2,7 +2,6 @@
import sys
from cx_Freeze import setup, Executable
import pygame
from version import buildVersion