-
Notifications
You must be signed in to change notification settings - Fork 790
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pycln: cleanup of more imports #2342
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
import os.path | ||
import sys | ||
|
||
""" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,6 @@ | |
import win32ui | ||
from pywin.mfc import docview, window | ||
|
||
from . import app | ||
|
||
bStretch = 1 | ||
|
||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,6 @@ | |
import win32con | ||
import win32ui | ||
|
||
from . import app | ||
|
||
tools = {} | ||
idPos = 100 | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,9 @@ | |
import win32con | ||
import win32ui | ||
|
||
from . import IDLEenvironment, keycodes | ||
from . import ( # nopycln: import # Injects fast_readline into the IDLE auto-indent extension | ||
IDLEenvironment, | ||
) | ||
Comment on lines
+9
to
+11
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If injecting in the extension isn't needed when |
||
|
||
HANDLER_ARGS_GUESS = 0 | ||
HANDLER_ARGS_NATIVE = 1 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# nopycln: file # undecidable cases due to explicit re-exports https://github.com/hadialqattan/pycln/issues/205 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ref.: hadialqattan/pycln#205 |
||
"""adodbapi - A python DB API 2.0 (PEP 249) interface to Microsoft ADO | ||
|
||
Copyright (C) 2002 Henrik Ekelund, version 2.1 by Vernon Cole | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The demo was already commented out above. TBD if fontdemo should just be removed entirely from here or added back in. It's possible that #2101 fixed w/e issue fontdemo had.