mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 02:23:34 +00:00
autopep8 aggressive
autopep8 --in-place --recursive --max-line-length=200 --aggressive --aggressive --aggressive ifcopenshell
This commit is contained in:
@@ -11,7 +11,7 @@ from PyQt4 import QtCore, QtGui
|
||||
|
||||
try:
|
||||
from PyQt4 import QtWidgets
|
||||
except:
|
||||
except BaseException:
|
||||
QtWidgets = QtGui
|
||||
|
||||
try:
|
||||
@@ -24,14 +24,14 @@ try:
|
||||
from pyqode.python.backend import server
|
||||
from pyqode.python import modes as pymodes, panels as pypanels, widgets
|
||||
from pyqode.python.widgets import PyInteractiveConsole
|
||||
|
||||
has_pyqode = True
|
||||
except:
|
||||
except BaseException:
|
||||
has_pyqode = False
|
||||
CodeEdit = QtWidgets.QPlainTextEdit
|
||||
|
||||
|
||||
class StdoutRedirector(object):
|
||||
|
||||
'''A class for redirecting stdout to this Text widget.'''
|
||||
|
||||
def __init__(self, widget):
|
||||
@@ -49,7 +49,6 @@ class StdoutRedirector(object):
|
||||
|
||||
|
||||
class code_edit(QtGui.QWidget):
|
||||
|
||||
class Console(InteractiveConsole):
|
||||
def __init__(*args):
|
||||
InteractiveConsole.__init__(*args)
|
||||
|
||||
Reference in New Issue
Block a user