Skip to content

Commit

Permalink
Fix pycln undecidable cases (#2051)
Browse files Browse the repository at this point in the history
Co-authored-by: Avasam <[email protected]>
Co-authored-by: Mark Hammond <[email protected]>
  • Loading branch information
Avasam and mhammond authored Jul 24, 2023
1 parent 3a22ca6 commit 630ffa3
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 25 deletions.
3 changes: 0 additions & 3 deletions Pythonwin/pywin/framework/editor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
# This really isnt necessary with Scintilla, and scintilla
# is getting so deeply embedded that it was too much work.

import sys

import win32con
import win32ui

defaultCharacterFormat = (-402653169, 0, 200, 0, 0, 0, 49, "Courier New")
Expand Down
48 changes: 27 additions & 21 deletions adodbapi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,36 @@
Copyright (C) 2002 Henrik Ekelund, version 2.1 by Vernon Cole
* http://sourceforge.net/projects/adodbapi
"""
import sys
import time

from .adodbapi import Connection, Cursor, __version__, connect, dateconverter
# Re-exports to keep backward compatibility with existing code
from .adodbapi import (
Connection as Connection,
Cursor as Cursor,
__version__,
connect as connect,
dateconverter,
)
from .apibase import (
BINARY,
DATETIME,
NUMBER,
ROWID,
STRING,
DatabaseError,
DataError,
Error,
FetchFailedError,
IntegrityError,
InterfaceError,
InternalError,
NotSupportedError,
OperationalError,
ProgrammingError,
Warning,
apilevel,
paramstyle,
threadsafety,
BINARY as BINARY,
DATETIME as DATETIME,
NUMBER as NUMBER,
ROWID as ROWID,
STRING as STRING,
DatabaseError as DatabaseError,
DataError as DataError,
Error as Error,
FetchFailedError as FetchFailedError,
IntegrityError as IntegrityError,
InterfaceError as InterfaceError,
InternalError as InternalError,
NotSupportedError as NotSupportedError,
OperationalError as OperationalError,
ProgrammingError as ProgrammingError,
Warning as Warning,
apilevel as apilevel,
paramstyle as paramstyle,
threadsafety as threadsafety,
)


Expand Down
2 changes: 1 addition & 1 deletion com/win32comext/adsi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# interface, as well as via IDispatch.
import pythoncom

from .adsi import *
from .adsi import * # nopycln: import # win32comext/adsi/adsi.pyd

LCID = 0

Expand Down

0 comments on commit 630ffa3

Please sign in to comment.